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:
parent
c235838b14
commit
adf0c97b51
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue