summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2015-05-27 01:19:58 +0000
commit98e0ffaefb0f241cda3a72395d3be04192ae0d47 (patch)
tree55c065b6730aaac2afb6c29933ee6ec5fa4c4249 /usr.bin/lex
parentb17ff922d4072ae132ece458f5b5d74a236880ac (diff)
parente81032ad243db32b8fd615b2d55ee94b9f6a5b6a (diff)
downloadsrc-test-98e0ffaefb0f241cda3a72395d3be04192ae0d47.tar.gz
src-test-98e0ffaefb0f241cda3a72395d3be04192ae0d47.zip
Merge sync of head
Notes
Notes: svn path=/projects/bmake/; revision=283595
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/Makefile2
-rw-r--r--usr.bin/lex/lex.15
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/lex/Makefile b/usr.bin/lex/Makefile
index f89609210e49e..faa503a1ec8af 100644
--- a/usr.bin/lex/Makefile
+++ b/usr.bin/lex/Makefile
@@ -51,7 +51,7 @@ bootstrap: ${GENFILES:S/^/init/g}
@diff -I '^#line ' -I '\$$FreeBS[D]: .*\$$' -q \
${.CURDIR}/init${_f} ${_f} 2> /dev/null || { \
echo "Bootstrapping ${_f}" ; \
- cp -f ${.CURDIR}/init${_f} ${_f} ; \
+ ${CP} ${.CURDIR}/init${_f} ${_f} ; \
}
.endfor
diff --git a/usr.bin/lex/lex.1 b/usr.bin/lex/lex.1
index fdb1881e3c93b..83d3a0c12aac2 100644
--- a/usr.bin/lex/lex.1
+++ b/usr.bin/lex/lex.1
@@ -2001,7 +2001,7 @@ can be used to control whether the current buffer's scanning
context for the next token match is done as though at the
beginning of a line.
A non-zero macro argument makes rules anchored with
-'^' active, while a zero argument makes '^' rules inactive.
+ '^' active, while a zero argument makes '^' rules inactive.
.PP
The macro
.B YY_AT_BOL()
@@ -2356,8 +2356,7 @@ automatically anyway.
.TP
.B \-F, \-\-fast
specifies that the
-.ul
-fast
+.I fast
scanner table representation should be used (and stdio
bypassed).
This representation is about as fast as the full table representation