summaryrefslogtreecommitdiff
path: root/lib/racc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-27 15:28:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-27 15:28:06 +0900
commitaca935a67042dd7b82e34844ae6139cedd66339d (patch)
tree3422cc1f713912673ff73bf6660e9316b3fc90f4 /lib/racc
parent6009790e4072c8c6736773cf22addb20ad5aac02 (diff)
Fixed typos in racc
Diffstat (limited to 'lib/racc')
-rw-r--r--lib/racc/parser-text.rb6
-rw-r--r--lib/racc/parser.rb6
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/racc/parser-text.rb b/lib/racc/parser-text.rb
index 8dadeadee5..c40736bc99 100644
--- a/lib/racc/parser-text.rb
+++ b/lib/racc/parser-text.rb
@@ -181,8 +181,8 @@ end
# Your own parser is completely yours.
module Racc
- unless defined?(Racc_No_Extentions)
- Racc_No_Extentions = false # :nodoc:
+ unless defined?(Racc_No_Extensions)
+ Racc_No_Extensions = false # :nodoc:
end
class Parser
@@ -202,7 +202,7 @@ module Racc
unless new.respond_to?(:_racc_do_parse_c, true)
raise LoadError, 'old cparse.so'
end
- if Racc_No_Extentions
+ if Racc_No_Extensions
raise LoadError, 'selecting ruby version of racc runtime core'
end
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb
index 8346f0193f..e1133f7590 100644
--- a/lib/racc/parser.rb
+++ b/lib/racc/parser.rb
@@ -179,8 +179,8 @@ end
# Your own parser is completely yours.
module Racc
- unless defined?(Racc_No_Extentions)
- Racc_No_Extentions = false # :nodoc:
+ unless defined?(Racc_No_Extensions)
+ Racc_No_Extensions = false # :nodoc:
end
class Parser
@@ -200,7 +200,7 @@ module Racc
unless new.respond_to?(:_racc_do_parse_c, true)
raise LoadError, 'old cparse.so'
end
- if Racc_No_Extentions
+ if Racc_No_Extensions
raise LoadError, 'selecting ruby version of racc runtime core'
end