aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/yacc
diff options
context:
space:
mode:
authorUlrich Spörlein <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
committerUlrich Spörlein <uqs@FreeBSD.org>2011-12-30 11:02:40 +0000
commit487ac9ac212077c859aafc40ac9660a84d0f294e (patch)
treed145ece02284bd86561f373fcb369e260154153b /usr.bin/yacc
parentfb2ad9d3a495c2ad70c72b3321b61f43d132fbfa (diff)
downloadsrc-487ac9ac212077c859aafc40ac9660a84d0f294e.tar.gz
src-487ac9ac212077c859aafc40ac9660a84d0f294e.zip
Notes
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 b030c625b000..baab2ee9ba28 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 0521891312ae..f81f17305239 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