summaryrefslogtreecommitdiffstats
path: root/usr.bin/lex
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
commit9953595f973c461c2729e5a7cde9380a3d3d2c9a (patch)
treed145ece02284bd86561f373fcb369e260154153b /usr.bin/lex
parentf4753a04d4771c2013dc576b6455d28c5e64e93e (diff)
downloadFreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip
FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/NEWS6
-rw-r--r--usr.bin/lex/flexdef.h2
-rw-r--r--usr.bin/lex/tblcmp.c2
3 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/lex/NEWS b/usr.bin/lex/NEWS
index 3e23e7d..e632885 100644
--- a/usr.bin/lex/NEWS
+++ b/usr.bin/lex/NEWS
@@ -1,3 +1,5 @@
+$FreeBSD$
+
Changes between release 2.5.4 (11Sep96) and release 2.5.3:
- Fixed a bug introduced in 2.5.3 that blew it when a call
@@ -944,7 +946,7 @@ Changes between 2.3 (full) release of 28Jun90 and 2.2 (alpha) release:
given. To specify an end-of-file action for just the initial
state, use <INITIAL><<EOF>>.
- - -d debug output is now contigent on the global yy_flex_debug
+ - -d debug output is now contingent on the global yy_flex_debug
being set to a non-zero value, which it is by default.
- A new macro, YY_USER_INIT, is provided for the user to specify
@@ -987,7 +989,7 @@ Changes between 2.3 (full) release of 28Jun90 and 2.2 (alpha) release:
- yy_switch_to_buffer() can be used in the yywrap() macro/routine.
- flex scanners do not use stdio for their input, and hence when
- writing an interactive scanner one must explictly call fflush()
+ writing an interactive scanner one must explicitly call fflush()
after writing out a prompt.
- flex scanner can be made reentrant (after a fashion) by using
diff --git a/usr.bin/lex/flexdef.h b/usr.bin/lex/flexdef.h
index ddc8768..1c51ec9 100644
--- a/usr.bin/lex/flexdef.h
+++ b/usr.bin/lex/flexdef.h
@@ -869,7 +869,7 @@ extern void mark_defs1 PROTO((void));
/* Mark the current position in the action array as the end of the prolog. */
extern void mark_prolog PROTO((void));
-/* Generate a data statment for a two-dimensional array. */
+/* Generate a data statement for a two-dimensional array. */
extern void mk2data PROTO((int));
extern void mkdata PROTO((int)); /* generate a data statement */
diff --git a/usr.bin/lex/tblcmp.c b/usr.bin/lex/tblcmp.c
index 12af3dc..d5d623d 100644
--- a/usr.bin/lex/tblcmp.c
+++ b/usr.bin/lex/tblcmp.c
@@ -510,7 +510,7 @@ void mkdeftbl()
* (i.e., jam entries) into the table. It is assumed that by linking to
* "JAMSTATE" they will be taken care of. In any case, entries in "state"
* marking transitions to "SAME_TRANS" are treated as though they will be
- * taken care of by whereever "deflink" points. "totaltrans" is the total
+ * taken care of by wherever "deflink" points. "totaltrans" is the total
* number of transitions out of the state. If it is below a certain threshold,
* the tables are searched for an interior spot that will accommodate the
* state array.
OpenPOWER on IntegriCloud