Update flex.md
This commit is contained in:

committed by
GitHub

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:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user