mirror of
https://github.com/yhirose/cpp-peglib.git
synced 2024-12-22 20:05:31 +00:00
Fix #182
This commit is contained in:
parent
4109480a0c
commit
4760b3e137
@ -191,7 +191,7 @@ We can ignore unnecessary semantic values from the list by using `~` operator.
|
|||||||
```cpp
|
```cpp
|
||||||
peg::parser parser(R"(
|
peg::parser parser(R"(
|
||||||
ROOT <- _ ITEM (',' _ ITEM _)*
|
ROOT <- _ ITEM (',' _ ITEM _)*
|
||||||
ITEM <- ([a-z])+
|
ITEM <- ([a-z0-9])+
|
||||||
~_ <- [ \t]*
|
~_ <- [ \t]*
|
||||||
)");
|
)");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user