mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-13 06:35:46 +02:00
lex: follow convention of colons at end of line
This commit is contained in:
parent
5ba8bc61f4
commit
015000ee03
1 changed files with 2 additions and 2 deletions
|
@ -3,10 +3,10 @@
|
||||||
> Lexical analyser generator.
|
> Lexical analyser generator.
|
||||||
> Given a lexical analyser, generates C code implementing it.
|
> Given a lexical analyser, generates C code implementing it.
|
||||||
|
|
||||||
- Generate analyser from Lex file.
|
- Generate analyser from Lex file:
|
||||||
|
|
||||||
`lex {{path/to/example.l}}`
|
`lex {{path/to/example.l}}`
|
||||||
|
|
||||||
- Compile a C file generated by lex.
|
- Compile a C file generated by lex:
|
||||||
|
|
||||||
`cc {{path/to/lex.yy.c}} -o {{example}}`
|
`cc {{path/to/lex.yy.c}} -o {{example}}`
|
||||||
|
|
Loading…
Add table
Reference in a new issue