diff options
Diffstat (limited to 'usr.bin/lex')
-rw-r--r-- | usr.bin/lex/flexdef.h | 2 | ||||
-rw-r--r-- | usr.bin/lex/lex.1 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lex/flexdef.h b/usr.bin/lex/flexdef.h index 6fc168c..03651ea 100644 --- a/usr.bin/lex/flexdef.h +++ b/usr.bin/lex/flexdef.h @@ -368,7 +368,7 @@ extern struct hash_entry *ccltab[CCL_HASH_SIZE]; * use_read - if true (-f, -F, or -Cr) then use read() for scanner input; * otherwise, use fread(). * yytext_is_array - if true (i.e., %array directive), then declare - * yytext as a array instead of a character pointer. Nice and inefficient. + * yytext as an array instead of a character pointer. Nice and inefficient. * do_yywrap - do yywrap() processing on EOF. If false, EOF treated as * "no more files". * csize - size of character set for the scanner we're generating; diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1 index dcfc827..918039b 100644 --- a/usr.bin/lex/lex.1 +++ b/usr.bin/lex/lex.1 @@ -3132,7 +3132,7 @@ can't figure this out, and it will plan for possibly needing to back up when it has scanned a token like "auto" and then the next character is something other than a newline or a letter. Previously it would then just match the "auto" rule and be done, but now it has no "auto" -rule, only a "auto\\n" rule. To eliminate the possibility of backing up, +rule, only an "auto\\n" rule. To eliminate the possibility of backing up, we could either duplicate all rules but without final newlines, or, since we never expect to encounter such an input and therefore don't how it's classified, we can introduce one more catch-all rule, this |