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

  if (variable) { a = b ; }

  while (10) { 

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

  }

  variable = 42;

}