1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

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