Library to scan doubly-bracketed values in form of [[...]]
- from annotated production rules of
parsergen
's input:<Line> ::= <NewLexIds> [[]] <Line> ::= <OperatorAssociation> [[ auto &c = $c; if (!c.testCond()) return; $1.m_attr.disown(); // not a pointer c.incWeight(); ]]
- from option definitions of both
parsergen
andscannergen
's inputs:%HEADERS_FOR_CPP [[ #include "ParserIdDef.h" // %HEADERS_FOR_SCANNER_CPP expanded BEGIN #include "BracketBalance.h" // %HEADERS_FOR_SCANNER_CPP expanded END ]]