зеркало из https://github.com/github/ruby.git
Fixed typos in racc
This commit is contained in:
Родитель
6009790e40
Коммит
aca935a670
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ def main
|
|||
debug_flags = Racc::DebugFlags.parse_option_string(flags)
|
||||
}
|
||||
#parser.on('--no-extensions', 'Run Racc without any Ruby extension.') {
|
||||
# Racc.const_set :Racc_No_Extentions, true
|
||||
# Racc.const_set :Racc_No_Extensions, true
|
||||
#}
|
||||
parser.on('--version', 'Prints version and quit.') {
|
||||
puts "racc version #{Racc::Version}"
|
||||
|
|
Загрузка…
Ссылка в новой задаче