2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

Small documentation improvements

Bring RealPolicies valid expressions section in line with example
Bring karma tutorial complex example code in line with discussion below
This commit is contained in:
Jan-Grimo Sobez
2020-04-29 09:25:40 +02:00
committed by Nikita Kniazev
parent 8321823575
commit c2ae55bdb9
3 changed files with 5 additions and 4 deletions

View File

@@ -90,7 +90,7 @@ namespace client
// Begin grammar
(
&true_ << '(' << double_ << ", " << double_ << ')'
| omit[bool_] << double_
| omit[bool_] << double_ << omit[double_]
),
// End grammar

View File

@@ -70,7 +70,7 @@ namespace client
// Begin grammar
(
!double_(0.0) << '(' << double_ << ", " << double_ << ')'
| omit[double_] << double_
| omit[double_] << double_ << omit[double_]
),
// End grammar