How can I extend a boost spirit grammar
问题 The thing is that I made a grammar that has been useful for a task, but now the task has changed and I need to define new rules. But I wouldn't like to modify the grammar I already have instead of that I'd like to create a new grammar that uses the existing grammar I have without code duplication, so I just need to define the new rules I need. I tried something like this, but is not working : struct New_grammar : Old_grammar<Iterator, Skipper> { New_grammar() : New_grammar::base_type(Command