diff options
Diffstat (limited to 'src/boost/libs/spirit/example/lex/example5.input')
-rw-r--r-- | src/boost/libs/spirit/example/lex/example5.input | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/boost/libs/spirit/example/lex/example5.input b/src/boost/libs/spirit/example/lex/example5.input new file mode 100644 index 00000000..1cbecf52 --- /dev/null +++ b/src/boost/libs/spirit/example/lex/example5.input @@ -0,0 +1,16 @@ +/* example5.input */ +{ + + if (variable) { a = b ; } + + while (10) { + + if (2) { b = 10 ; } + if (x) { c = x ; } else { d = 10 ; } + + } + + variable = 42; + if (variable) { a = b ; } else { } +} + |