summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc
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/yacc
parentf4753a04d4771c2013dc576b6455d28c5e64e93e (diff)
downloadFreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.zip
FreeBSD-src-9953595f973c461c2729e5a7cde9380a3d3d2c9a.tar.gz
Spelling fixes for usr.bin/
Diffstat (limited to 'usr.bin/yacc')
-rw-r--r--usr.bin/yacc/NEW_FEATURES4
-rw-r--r--usr.bin/yacc/reader.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/yacc/NEW_FEATURES b/usr.bin/yacc/NEW_FEATURES
index b030c62..baab2ee 100644
--- a/usr.bin/yacc/NEW_FEATURES
+++ b/usr.bin/yacc/NEW_FEATURES
@@ -1,3 +1,5 @@
+$FreeBSD$
+
The -r option has been implemented. The -r option tells Yacc to
put the read-only tables in y.tab.c and the code and variables in
y.code.c. Keith Bostic asked for this option so that :yyfix could be
@@ -35,7 +37,7 @@ is
%ident string
-where string is a sequence of characters begining with a double quote
+where string is a sequence of characters beginning with a double quote
and ending with either a double quote or the next end-of-line, whichever
comes first. The declaration will cause a #ident directive to be written
near the start of the output file.
diff --git a/usr.bin/yacc/reader.c b/usr.bin/yacc/reader.c
index 0521891..f81f173 100644
--- a/usr.bin/yacc/reader.c
+++ b/usr.bin/yacc/reader.c
@@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
/* The line size must be a positive integer. One hundred was chosen */
/* because few lines in Yacc input grammars exceed 100 characters. */
/* Note that if a line exceeds LINESIZE characters, the line buffer */
-/* will be expanded to accomodate it. */
+/* will be expanded to accommodate it. */
#define LINESIZE 100
OpenPOWER on IntegriCloud