From c08906bacabb747b685f13ec9fe248f2353c1d6a Mon Sep 17 00:00:00 2001 From: Liam McMenemie Date: Thu, 28 Dec 2017 02:16:22 +0000 Subject: [PATCH] lex: improve wording --- pages/common/lex.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/common/lex.md b/pages/common/lex.md index 1f60a59355..7b5d95c848 100644 --- a/pages/common/lex.md +++ b/pages/common/lex.md @@ -1,9 +1,9 @@ # lex > Lexical analyser generator. -> Given a lexical analyser, generates C code implementing it. +> Given the specification for a lexical analyser, generates C code implementing it. -- Generate analyser from Lex file: +- Generate an analyser from a Lex file: `lex {{analyser.l}}` @@ -11,6 +11,6 @@ `lex {{analyser.l}} --outfile {{analyser.c}}` -- Compile a C file generated by lex: +- Compile a C file generated by Lex: `cc {{path/to/lex.yy.c}} --output {{executable}}`