Recursive descent parser: Difference between revisions

Content deleted Content added
Example parser: properly restore "number" in grammar—revision 868453978, and the three after, vandalized two occurrences in the EBNF and then changed them back...to "num" instead
Line 19:
block =
["const" ident "=" numnumber {"," ident "=" numnumber} ";"]
["var" ident {"," ident} ";"]
{"procedure" ident ";" block ";"} statement .