Skip to content

Commit

Permalink
Merge pull request #153 from akimd/master
Browse files Browse the repository at this point in the history
typo: s/grammer/grammar/g
  • Loading branch information
olleolleolle authored Apr 27, 2021
2 parents cfbacd0 + 796e090 commit 8da82f5
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@

$ ruby calc

... Does it works?
For details of Racc, see HTML documents placed under 'doc.en/'
and sample grammer files under 'sample/'.
... Does it work?
For details of Racc, see HTML documents placed under 'rdoc/en/'
and sample grammar files under 'sample/'.


== License
Expand All @@ -74,8 +74,8 @@

== Bug Reports

Any kind of bug reports are welcome.
If you find a bug of Racc, please email me. Your grammer file,
Any kind of bug report is welcome.
If you find a bug of Racc, please email me. Your grammar file,
debug output genereted by "racc -g", are helpful.


Expand Down
2 changes: 1 addition & 1 deletion sample/array2.y
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Converting Array-like string into Ruby's Array, version 2.
# This grammer uses no_result_var.
# This grammar uses no_result_var.
class ArrayParser2
options no_result_var
Expand Down
4 changes: 2 additions & 2 deletions sample/conflict.y
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
#
# Example of conflicted grammer.
# This grammer contains 1 Shift/Reduce conflict and 1 Reduce/Reduce conflict.
# Example of conflicted grammar.
# This grammar contains 1 Shift/Reduce conflict and 1 Reduce/Reduce conflict.

class A
rule
Expand Down
2 changes: 1 addition & 1 deletion sample/lalr.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# This is LALR grammer, and not LL/SLR.
# This is LALR grammar, and not LL/SLR.

class A
rule
Expand Down
2 changes: 1 addition & 1 deletion sample/syntax.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# Racc syntax checker. This grammer file generates
# Racc syntax checker. This grammar file generates
# invalid ruby program, you cannot run this parser.

class P
Expand Down
2 changes: 1 addition & 1 deletion sample/yyerr.y
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
#
# Test grammer file for error handling.
# Test grammar file for error handling.

class A
rule
Expand Down

0 comments on commit 8da82f5

Please sign in to comment.