s/option/field/

This commit is contained in:
Jeremie Dimino 2017-04-03 16:29:27 +01:00
parent 3c57d4eeff
commit 989d0bd91a
1 changed files with 5 additions and 4 deletions

View File

@ -514,15 +514,16 @@ dependencies. See the [[User actions][actions section]] for more details.
**** menhir
The basic form for defining menhir parsers (analogous to ocamlyacc):
The basic form for defining menhir parsers (analogous to ocamlyacc) is:
#+begin_src scheme
(menhir
((modules (<parser1> <parser2> ...))))
#+end_src
Modular parsers (--base flag) can be defined by adding the =merge_into= option.
With this option, a single parser named =base_name= is generated.
Modular parsers can be defined by adding a =merge_into= field. This
correspond to the =--base= command line option of =menhir=. With this
option, a single parser named =base_name= is generated.
#+begin_src scheme
(menhir
@ -530,7 +531,7 @@ With this option, a single parser named =base_name= is generated.
(modules (<parser1> <parser2> ...))))
#+end_src
Extra flags can be passed to menhir using the =flags= option:
Extra flags can be passed to menhir using the =flags= flag:
#+begin_src scheme
(menhir