lex: add --outfile example
This commit is contained in:
parent
c235838b14
commit
adf0c97b51
|
|
@ -7,6 +7,10 @@
|
|||
|
||||
`lex {{analyser.l}}`
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`lex {{analyser.l}} --outfile {{analyser.c}}
|
||||
|
||||
- Compile a C file generated by lex:
|
||||
|
||||
`cc {{path/to/lex.yy.c}} --output {{executable}}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue