lex: split posix, bsd and linux (#10001)
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
|
||||
- Specify the output file:
|
||||
|
||||
`lex {{analyzer.l}} --outfile {{analyzer.c}}`
|
||||
`lex -t {{analyzer.l}} > {{analyzer.c}}`
|
||||
|
||||
- Compile a C file generated by Lex:
|
||||
|
||||
`cc {{path/to/lex.yy.c}} --output {{executable}}`
|
||||
`c99 {{path/to/lex.yy.c}} -o {{executable}}`
|
||||
|
Reference in New Issue
Block a user