summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/racc/parser-text.rb2
-rw-r--r--lib/racc/parser.rb2
-rw-r--r--lib/racc/parserfilegenerator.rb2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/racc/parser-text.rb b/lib/racc/parser-text.rb
index 63ef3235c9..7adc21ee7a 100644
--- a/lib/racc/parser-text.rb
+++ b/lib/racc/parser-text.rb
@@ -60,7 +60,7 @@ end
# [-E, --embedded]
# Output parser which doesn't need runtime files (racc/parser.rb).
# [-C, --check-only]
-# Check syntax of racc grammer file and quit.
+# Check syntax of racc grammar file and quit.
# [-S, --output-status]
# Print messages time to time while compiling.
# [-l, --no-line-convert]
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb
index 41740ade39..a2bc47b425 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -58,7 +58,7 @@ end
# [-E, --embedded]
# Output parser which doesn't need runtime files (racc/parser.rb).
# [-C, --check-only]
-# Check syntax of racc grammer file and quit.
+# Check syntax of racc grammar file and quit.
# [-S, --output-status]
# Print messages time to time while compiling.
# [-l, --no-line-convert]
diff --git a/lib/racc/parserfilegenerator.rb b/lib/racc/parserfilegenerator.rb
index b4fac62ce5..fdce45cbbf 100644
--- a/lib/racc/parserfilegenerator.rb
+++ b/lib/racc/parserfilegenerator.rb
@@ -123,7 +123,7 @@ module Racc
line %q[#]
line %q[# DO NOT MODIFY!!!!]
line %Q[# This file is automatically generated by Racc #{Racc::Version}]
- line %Q[# from Racc grammer file "#{@params.filename}".]
+ line %Q[# from Racc grammar file "#{@params.filename}".]
line %q[#]
end