diff --git a/pages/common/lex.md b/pages/common/lex.md index feb76b0668..aba6bff4d3 100644 --- a/pages/common/lex.md +++ b/pages/common/lex.md @@ -5,8 +5,8 @@ - Generate analyser from Lex file: -`lex {{path/to/example.l}}` +`lex {{analyser.l}}` - Compile a C file generated by lex: -`cc {{path/to/lex.yy.c}} --output {{example}}` +`cc {{path/to/lex.yy.c}} --output {{executable}}`