mirror of https://github.com/CrimsonTome/tldr.git
Update flex.md
parent
e74e3ad12a
commit
4259a67135
|
@ -5,11 +5,11 @@
|
||||||
|
|
||||||
- Generate an analyser from a flex file:
|
- Generate an analyser from a flex file:
|
||||||
|
|
||||||
`lex {{analyser.l}}`
|
`flex {{analyser.l}}`
|
||||||
|
|
||||||
- Specify the output file:
|
- Specify the output file:
|
||||||
|
|
||||||
`lex {{analyser.l}} --outfile {{analyser.c}}`
|
`flex {{analyser.l}} --outfile {{analyser.c}}`
|
||||||
|
|
||||||
- Compile a C file generated by flex:
|
- Compile a C file generated by flex:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue