summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/spirit/example/lex/example6.input
blob: 992cbeb3398a4a27e0858a9f129c6103203d948d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* example6.input */
{

  if (variable) { a = b ; }

  while (10) { 

    if (2) { b = 10 ; }
    if (x) { c = x ; } else { d = 10 ; }

  }

  variable = 42;

}