lex: add --outfile example

This commit is contained in:
Liam McMenemie
2017-12-11 21:30:23 +00:00
parent c235838b14
commit adf0c97b51

View File

@@ -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}}`