We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347113d commit 523137cCopy full SHA for 523137c
README.md
@@ -170,7 +170,7 @@ auto ret = pg.parse(" token1, token2 ");
170
We can ignore unnecessary semantic values from the list by using `~` operator.
171
172
```cpp
173
-peg::pegparser parser(R"(
+peg::parser parser(R"(
174
ROOT <- _ ITEM (',' _ ITEM _)*
175
ITEM <- ([a-z])+
176
~_ <- [ \t]*
@@ -186,7 +186,7 @@ auto ret = parser.parse(" item1, item2 ");
186
The following grammar is same as the above.
187
188
189
190
ROOT <- ~_ ITEM (',' ~_ ITEM ~_)*
191
192
_ <- [ \t]*
0 commit comments