# # DO NOT MODIFY!!!! # This file is automatically generated by racc 1.4.4 # from racc grammer file "c.y". # require 'racc/parser' require 'set' #### Error classes module C class ParseError < StandardError; end end ### Local variables: ### mode: ruby ### end: module C class Parser < Racc::Parser module_eval <<'..end c.y modeval..iddc00389379', 'c.y', 531 ## A.1.9 -- Preprocessing numbers -- skip ## A.1.8 -- Header names -- skip ## A.1.7 -- Puncuators -- we don't bother with {##,#,%:,%:%:} since ## we don't do preprocessing @@punctuators = %r'\+\+|-[->]|&&|\|\||\.\.\.|(?:<<|>>|[<>=!*/%+\-&^|])=?|[\[\](){}.~?:;,]' @@digraphs = %r'<[:%]|[:%]>' ## A.1.6 -- String Literals -- simple for us because we don't decode ## the string (and indeed accept some illegal strings) @@string_literal = %r'L?"(?:[^\\]|\\.)*?"'m ## A.1.5 -- Constants @@decimal_floating_constant = %r'(?:(?:\d*\.\d+|\d+\.)(?:e[-+]?\d+)?|\d+e[-+]?\d+)[fl]?'i @@hexadecimal_floating_constant = %r'0x(?:(?:[0-9a-f]*\.[0-9a-f]+|[0-9a-f]+\.)|[0-9a-f]+)p[-+]?\d+[fl]?'i @@integer_constant = %r'(?:[1-9][0-9]*|0x[0-9a-f]+|0[0-7]*)(?:ul?l?|ll?u?)?'i @@floating_constant = %r'#{@@decimal_floating_constant}|#{@@hexadecimal_floating_constant}' @@enumeration_constant = %r'[a-zA-Z_\\][a-zA-Z_\\0-9]*' @@character_constant = %r"L?'(?:[^\\]|\\.)+?'" ## (note that as with string-literals, we accept some illegal ## character-constants) ## A.1.4 -- Universal character names -- skip ## A.1.3 -- Identifiers -- skip, since an identifier is lexically ## identical to an enumeration constant ## A.1.2 Keywords keywords = %w'auto break case char const continue default do double else enum extern float for goto if inline int long register restrict return short signed sizeof static struct switch typedef union unsigned void volatile while _Bool _Complex _Imaginary' @@keywords = %r"#{keywords.join('|')}" def initialize @type_names = ::Set.new @warning_proc = lambda{} @pos = C::Node::Pos.new(nil, 1, 0) end def initialize_copy x @pos = x.pos.dup @type_names = x.type_names.dup end attr_accessor :pos, :type_names def parse str if str.respond_to? :read str = str.read end @str = str begin return do_parse rescue ParseError => e e.set_backtrace(caller) raise end end ### Obsolete? Todo? What was I thinking? def on_error error_token_id, error_value, value_stack if error_value == '$' parse_error @pos, "unexpected EOF" else parse_error(error_value.pos, "parse error on #{error_value.val.inspect}") end end private class Token attr_accessor :pos, :val def initialize pos, val @pos = pos @val = val end end def eat str lines = str.split(/\r\n|[\r\n]/, -1) if lines.length == 1 @pos.col_num += lines[0].length else @pos.line_num += lines.length - 1 @pos.col_num = lines[-1].length end end def next_token return nil if @str == '' case @str when %r'\A\s+' ## whitespace eat $& @str[0...$&.length] = '' return next_token when %r'\A/\*.*?\*/'m ## comment eat $& @str[0...$&.length] = '' return next_token when %r'\A#{@@keywords}\b' ## keyword ret = [$&, $&.to_sym] when %r'\A#{@@enumeration_constant}' ## identifier, enumeration_constant, or typedef_name case when @type_names.include?($&) ret = [:TYPE_ID, $&] else ret = [:ID, $&] end when %r'\A#{@@floating_constant}' ## floating-constant ret = [:FLOAT, $&.to_f] when %r'\A#{@@integer_constant}' ## integer-constant ret = [:INT, $&.to_i] when %r'\A#{@@character_constant}' ## character constant ret = [:CHAR, $&[1...-1]] when %r'\A#{@@string_literal}' ## string-literal ret = [:STRING, $&[1...-1]] when %r'\A#{@@punctuators}' ## punctuator ret = [$&, $&] when %r'\A#{@@digraphs}' ## digraph case $& when '<:' ret = ['[', '['] when ':>' ret = [']', ']'] when '<%' ret = ['{', '{'] when '%>' ret = ['}', '}'] else raise 'bug' end else if @str.length > 40 s = @str[0...37] << '...' else s = @str end raise ParseError, "#{@pos}: invalid token: #{s.inspect}" end ret[1] = Token.new(@pos.dup, ret[1]) eat $& @str[0...$&.length] = '' return ret end private #### Helper methods ## Make a Declaration from the given specs and declarators. def make_declaration pos, specs, declarators specs.all?{|x| x.is_a?(Symbol) || x.is_a?(Type)} or raise specs.map{|x| x.class}.inspect decl = Declaration.new_at(pos, nil, declarators) ## set storage class storage_classes = specs.find_all do |x| [:typedef, :extern, :static, :auto, :register].include? x end ## 6.7.1p2: at most, one storage-class specifier may be given in ## the declaration specifiers in a declaration storage_classes.length <= 1 or begin if declarators.length == 0 for_name = '' else for_name = "for `#{declarators[0].name}'" end parse_error pos, "multiple or duplicate storage classes given #{for_name}'" end decl.storage = storage_classes[0] ## set type (specifiers, qualifiers) decl.type = make_direct_type(pos, specs) ## set function specifiers decl.inline = specs.include?(:inline) ## look for new type names if decl.typedef? decl.declarators.each do |d| if d.name @type_names << d.name end end end return decl end def make_function_def pos, specs, func_declarator, decl_list, defn add_decl_type(func_declarator, make_direct_type(pos, specs)) ## get types from decl_list if necessary function = func_declarator.indirect_type function.is_a? Function or parse_error pos, "non function type for function `#{func_declarator.name}'" params = function.params if decl_list params.all?{|p| p.type.nil?} or parse_error pos, "both prototype and declaration list given for `#{func_declarator.name}'" decl_list.each do |declaration| declaration.declarators.each do |declarator| param = params.find{|p| p.name == declarator.name} or parse_error pos, "no parameter named #{declarator.name}" if declarator.indirect_type param.type = declarator.indirect_type param.type.direct_type = declaration.type.dup else param.type = declaration.type.dup end end end params.all?{|p| p.type} or begin s = params.find_all{|p| p.type.nil?}.map{|p| "`#{p.name}'"}.join(' and ') parse_error pos, "types missing for parameters #{s}" end end fd = FunctionDef.new_at(pos, function.detach, func_declarator.name, defn, :no_prototype => !decl_list.nil?) ## set storage class ## 6.9.1p4: only extern or static allowed specs.each do |s| [:typedef, :auto, :register].include?(s) and "`#{s}' illegal for function" end storage_classes = specs.find_all do |s| s == :extern || s == :static end ## 6.7.1p2: at most, one storage-class specifier may be given in ## the declaration specifiers in a declaration storage_classes.length <= 1 or "multiple or duplicate storage classes given for `#{declarator.name}'" fd.storage = storage_classes[0] if storage_classes[0] ## set function specifiers ## 6.7.4p5 'inline' can be repeated fd.inline = specs.include?(:inline) return fd end ## Make a direct type from the list of type specifiers and type ## qualifiers. def make_direct_type pos, specs specs_order = [:signed, :unsigned, :short, :long, :double, :void, :char, :int, :float, :_Bool, :_Complex, :_Imaginary] type_specs = specs.find_all do |x| specs_order.include?(x) || !x.is_a?(Symbol) end type_specs.sort! do |a, b| (specs_order.index(a)||100) <=> (specs_order.index(b)||100) end ## set type specifiers ## 6.7.2p2: the specifier list should be one of these type = case type_specs when [:void] Void.new when [:char] Char.new when [:signed, :char] Char.new :signed => true when [:unsigned, :char] Char.new :signed => false when [:short], [:signed, :short], [:short, :int], [:signed, :short, :int] Int.new :longness => -1 when [:unsigned, :short], [:unsigned, :short, :int] Int.new :unsigned => true, :longness => -1 when [:int], [:signed], [:signed, :int] Int.new when [:unsigned], [:unsigned, :int] Int.new :unsigned => true when [:long], [:signed, :long], [:long, :int], [:signed, :long, :int] Int.new :longness => 1 when [:unsigned, :long], [:unsigned, :long, :int] Int.new :longness => 1, :unsigned => true when [:long, :long], [:signed, :long, :long], [:long, :long, :int], [:signed, :long, :long, :int] Int.new :longness => 2 when [:unsigned, :long, :long], [:unsigned, :long, :long, :int] Int.new :longness => 2, :unsigned => true when [:float] Float.new when [:double] Float.new :longness => 1 when [:long, :double] Float.new :longness => 2 when [:_Bool] Bool.new when [:float, :_Complex] Complex.new when [:double, :_Complex] Complex.new :longness => 1 when [:long, :double, :_Complex] Complex.new :longness => 2 when [:float, :_Imaginary] Imaginary.new when [:double, :_Imaginary] Imaginary.new :longness => 1 when [:long, :double, :_Imaginary] Imaginary.new :longness => 2 else if type_specs.length == 1 && [CustomType, Struct, Union, Enum].any?{|c| type_specs[0].is_a? c} type_specs[0] else if type_specs == [] parse_error pos, "no type specifiers given" else parse_error pos, "invalid type specifier combination: #{type_specs.join(' ')}" end end end type.pos ||= pos ## set type qualifiers ## 6.7.3p4: type qualifiers can be repeated type.const = specs.any?{|x| x.equal? :const } type.restrict = specs.any?{|x| x.equal? :restrict} type.volatile = specs.any?{|x| x.equal? :volatile} return type end def make_parameter pos, specs, indirect_type, name type = indirect_type if type type.direct_type = make_direct_type(pos, specs) else type = make_direct_type(pos, specs) end [:typedef, :extern, :static, :auto, :inline].each do |sym| specs.include? sym and parse_error pos, "parameter `#{declarator.name}' declared `#{sym}'" end return Parameter.new_at(pos, type, name, :register => specs.include?(:register)) end def add_type_quals type, quals type.const = quals.include?(:const ) type.restrict = quals.include?(:restrict) type.volatile = quals.include?(:volatile) return type end ## Add te given type as the "most direct" type to the given ## declarator. Return the declarator. def add_decl_type declarator, type if declarator.indirect_type declarator.indirect_type.direct_type = type else declarator.indirect_type = type end return declarator end def param_list params, var_args if params.length == 1 && params[0].type.is_a?(Void) && params[0].name.nil? return NodeArray[] elsif params.empty? return nil else return params end end def parse_error pos, str raise ParseError, "#{pos}: #{str}" end ..end c.y modeval..iddc00389379 ##### racc 1.4.4 generates ### racc_reduce_table = [ 0, 0, :racc_error, 1, 92, :_reduce_1, 2, 92, :_reduce_2, 1, 93, :_reduce_3, 1, 93, :_reduce_4, 4, 94, :_reduce_5, 3, 94, :_reduce_6, 1, 98, :_reduce_7, 2, 98, :_reduce_8, 1, 100, :_reduce_9, 1, 100, :_reduce_10, 1, 100, :_reduce_11, 1, 100, :_reduce_12, 1, 100, :_reduce_13, 1, 100, :_reduce_14, 3, 101, :_reduce_15, 4, 101, :_reduce_16, 3, 101, :_reduce_17, 3, 101, :_reduce_18, 3, 99, :_reduce_19, 2, 99, :_reduce_20, 1, 109, :_reduce_21, 2, 109, :_reduce_22, 1, 110, :_reduce_23, 1, 110, :_reduce_24, 2, 102, :_reduce_25, 1, 102, :_reduce_26, 5, 103, :_reduce_27, 7, 103, :_reduce_28, 5, 103, :_reduce_29, 5, 104, :_reduce_30, 7, 104, :_reduce_31, 9, 104, :_reduce_32, 8, 104, :_reduce_33, 8, 104, :_reduce_34, 7, 104, :_reduce_35, 8, 104, :_reduce_36, 7, 104, :_reduce_37, 7, 104, :_reduce_38, 6, 104, :_reduce_39, 8, 104, :_reduce_40, 7, 104, :_reduce_41, 7, 104, :_reduce_42, 6, 104, :_reduce_43, 3, 105, :_reduce_44, 2, 105, :_reduce_45, 2, 105, :_reduce_46, 3, 105, :_reduce_47, 2, 105, :_reduce_48, 3, 105, :_reduce_49, 3, 95, :_reduce_50, 2, 95, :_reduce_51, 2, 96, :_reduce_52, 1, 96, :_reduce_53, 2, 96, :_reduce_54, 1, 96, :_reduce_55, 2, 96, :_reduce_56, 1, 96, :_reduce_57, 2, 96, :_reduce_58, 1, 96, :_reduce_59, 1, 112, :_reduce_60, 3, 112, :_reduce_61, 1, 117, :_reduce_62, 3, 117, :_reduce_63, 1, 113, :_reduce_64, 1, 113, :_reduce_65, 1, 113, :_reduce_66, 1, 113, :_reduce_67, 1, 113, :_reduce_68, 1, 114, :_reduce_69, 1, 114, :_reduce_70, 1, 114, :_reduce_71, 1, 114, :_reduce_72, 1, 114, :_reduce_73, 1, 114, :_reduce_74, 1, 114, :_reduce_75, 1, 114, :_reduce_76, 1, 114, :_reduce_77, 1, 114, :_reduce_78, 1, 114, :_reduce_79, 1, 114, :_reduce_80, 1, 114, :_reduce_81, 1, 114, :_reduce_82, 1, 114, :_reduce_83, 5, 119, :_reduce_84, 4, 119, :_reduce_85, 2, 119, :_reduce_86, 5, 119, :_reduce_87, 2, 119, :_reduce_88, 1, 121, :_reduce_89, 1, 121, :_reduce_90, 1, 122, :_reduce_91, 2, 122, :_reduce_92, 3, 123, :_reduce_93, 2, 124, :_reduce_94, 1, 124, :_reduce_95, 2, 124, :_reduce_96, 1, 124, :_reduce_97, 1, 125, :_reduce_98, 3, 125, :_reduce_99, 1, 126, :_reduce_100, 3, 126, :_reduce_101, 2, 126, :_reduce_102, 5, 120, :_reduce_103, 4, 120, :_reduce_104, 6, 120, :_reduce_105, 5, 120, :_reduce_106, 2, 120, :_reduce_107, 5, 120, :_reduce_108, 6, 120, :_reduce_109, 2, 120, :_reduce_110, 1, 127, :_reduce_111, 3, 127, :_reduce_112, 1, 128, :_reduce_113, 3, 128, :_reduce_114, 1, 115, :_reduce_115, 1, 115, :_reduce_116, 1, 115, :_reduce_117, 1, 116, :_reduce_118, 2, 97, :_reduce_119, 1, 97, :_reduce_120, 1, 131, :_reduce_121, 3, 131, :_reduce_122, 5, 131, :_reduce_123, 4, 131, :_reduce_124, 4, 131, :_reduce_125, 3, 131, :_reduce_126, 6, 131, :_reduce_127, 5, 131, :_reduce_128, 6, 131, :_reduce_129, 5, 131, :_reduce_130, 4, 131, :_reduce_131, 4, 131, :_reduce_132, 4, 131, :_reduce_133, 3, 131, :_reduce_134, 2, 130, :_reduce_135, 1, 130, :_reduce_136, 3, 130, :_reduce_137, 2, 130, :_reduce_138, 1, 132, :_reduce_139, 2, 132, :_reduce_140, 1, 134, :_reduce_141, 3, 134, :_reduce_142, 1, 136, :_reduce_143, 3, 136, :_reduce_144, 2, 137, :_reduce_145, 2, 137, :_reduce_146, 1, 137, :_reduce_147, 1, 135, :_reduce_148, 3, 135, :_reduce_149, 2, 139, :_reduce_150, 1, 139, :_reduce_151, 1, 138, :_reduce_152, 2, 138, :_reduce_153, 1, 138, :_reduce_154, 3, 140, :_reduce_155, 4, 140, :_reduce_156, 3, 140, :_reduce_157, 3, 140, :_reduce_158, 2, 140, :_reduce_159, 4, 140, :_reduce_160, 3, 140, :_reduce_161, 4, 140, :_reduce_162, 3, 140, :_reduce_163, 3, 140, :_reduce_164, 2, 140, :_reduce_165, 1, 108, :_reduce_166, 1, 118, :_reduce_167, 3, 118, :_reduce_168, 4, 118, :_reduce_169, 2, 141, :_reduce_170, 1, 141, :_reduce_171, 4, 141, :_reduce_172, 3, 141, :_reduce_173, 2, 142, :_reduce_174, 1, 143, :_reduce_175, 2, 143, :_reduce_176, 3, 144, :_reduce_177, 2, 144, :_reduce_178, 1, 145, :_reduce_179, 1, 145, :_reduce_180, 1, 145, :_reduce_181, 3, 145, :_reduce_182, 1, 148, :_reduce_183, 4, 148, :_reduce_184, 4, 148, :_reduce_185, 3, 148, :_reduce_186, 3, 148, :_reduce_187, 3, 148, :_reduce_188, 2, 148, :_reduce_189, 2, 148, :_reduce_190, 6, 148, :_reduce_191, 7, 148, :_reduce_192, 1, 149, :_reduce_193, 3, 149, :_reduce_194, 1, 150, :_reduce_195, 2, 150, :_reduce_196, 2, 150, :_reduce_197, 2, 150, :_reduce_198, 2, 150, :_reduce_199, 4, 150, :_reduce_200, 1, 151, :_reduce_201, 1, 151, :_reduce_202, 1, 151, :_reduce_203, 1, 151, :_reduce_204, 1, 151, :_reduce_205, 1, 151, :_reduce_206, 1, 152, :_reduce_207, 4, 152, :_reduce_208, 1, 153, :_reduce_209, 3, 153, :_reduce_210, 3, 153, :_reduce_211, 3, 153, :_reduce_212, 1, 154, :_reduce_213, 3, 154, :_reduce_214, 3, 154, :_reduce_215, 1, 155, :_reduce_216, 3, 155, :_reduce_217, 3, 155, :_reduce_218, 1, 156, :_reduce_219, 3, 156, :_reduce_220, 3, 156, :_reduce_221, 3, 156, :_reduce_222, 3, 156, :_reduce_223, 1, 157, :_reduce_224, 3, 157, :_reduce_225, 3, 157, :_reduce_226, 1, 158, :_reduce_227, 3, 158, :_reduce_228, 1, 159, :_reduce_229, 3, 159, :_reduce_230, 1, 160, :_reduce_231, 3, 160, :_reduce_232, 1, 161, :_reduce_233, 3, 161, :_reduce_234, 1, 162, :_reduce_235, 3, 162, :_reduce_236, 1, 163, :_reduce_237, 5, 163, :_reduce_238, 1, 133, :_reduce_239, 3, 133, :_reduce_240, 1, 164, :_reduce_241, 1, 164, :_reduce_242, 1, 164, :_reduce_243, 1, 164, :_reduce_244, 1, 164, :_reduce_245, 1, 164, :_reduce_246, 1, 164, :_reduce_247, 1, 164, :_reduce_248, 1, 164, :_reduce_249, 1, 164, :_reduce_250, 1, 164, :_reduce_251, 1, 111, :_reduce_252, 3, 111, :_reduce_253, 1, 107, :_reduce_254, 1, 106, :_reduce_255, 1, 146, :_reduce_256, 1, 146, :_reduce_257, 1, 146, :_reduce_258, 1, 129, :_reduce_259, 1, 147, :_reduce_260 ] racc_reduce_n = 261 racc_shift_n = 455 clist = [ '121,123,83,291,131,134,137,320,250,147,151,155,158,161,165,168,113,56', '57,57,373,92,92,320,89,364,89,364,57,57,21,380,420,243,200,378,75,229', '250,109,287,379,53,376,287,140,53,21,201,76,156,160,164,166,112,116', '118,120,53,297,287,88,363,88,363,198,41,53,53,296,239,370,250,295,195', '240,241,242,244,199,41,250,386,41,142,145,148,152,121,123,83,128,131', '134,137,41,41,147,151,155,158,161,165,168,113,41,41,4,7,9,11,14,18,23', '27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,49,387,140,223,21,209', '210,156,160,164,166,112,116,118,120,121,123,83,72,131,134,137,72,72', '147,151,155,158,161,165,168,113,422,346,391,39,204,392,204,100,41,142', '145,148,152,21,423,349,261,205,206,205,206,101,424,56,393,57,270,394', '140,350,21,271,250,156,160,164,166,112,116,118,120,121,123,83,291,131', '134,137,21,41,147,151,155,158,161,165,168,113,230,32,36,1,217,218,53', '53,41,142,145,148,152,260,251,252,253,254,255,256,257,258,259,287,231', '57,41,400,140,401,21,209,210,156,160,164,166,112,116,118,120,121,123', '83,41,131,134,137,204,232,147,151,155,158,161,165,168,113,409,190,249', '205,206,41,53,433,41,142,145,148,152,250,191,250,412,439,385,72,250', '72,442,227,228,57,102,250,140,250,21,250,250,156,160,164,166,112,116', '118,120,121,123,83,41,131,134,137,427,375,147,151,155,158,161,165,168', '113,250,250,223,318,374,285,53,447,41,142,145,148,152,250,250,284,451', '250,222,431,221,32,36,1,209,210,250,53,140,250,21,209,210,156,160,164', '166,112,116,118,120,121,123,83,41,131,134,137,209,210,147,151,155,158', '161,165,168,113,215,212,213,214,215,212,213,214,41,142,145,148,152,215', '212,213,214,207,208,207,208,217,218,207,208,371,219,322,140,221,21,220', '245,156,160,164,166,112,116,118,120,121,123,83,219,131,134,137,371,305', '147,151,155,158,161,165,168,113,418,419,377,421,216,41,265,356,41,142', '145,148,152,267,354,192,352,41,74,73,72,438,329,68,67,231,66,341,140', '279,21,340,282,156,160,164,166,112,116,118,120,121,123,83,283,131,134', '137,86,41,147,151,155,158,161,165,168,113,286,41,220,,,,,,41,142,145', '148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116,118,120,121', '123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,,,,41,142', '145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116,118,120', '121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,,,,41', '142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116,118', '120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,', ',,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116', '118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,', ',,,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112', '116,118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113', ',,,,,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,137,156,160,164,166', '112,116,118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168', '113,,,,,,,,,41,142,145,148,152,140,,,,,156,160,164,166,112,116,118,120', ',,140,,21,,,156,160,164,166,112,116,118,120,,,,,,,,,,,41,142,145,148', '152,,,,,,,,,,,41,142,145,148,152,121,123,83,233,131,134,137,,,147,151', '155,158,161,165,168,113,,,4,7,9,11,14,18,23,27,30,35,38,3,6,8,10,13', '17,22,26,29,32,36,1,5,,,140,,21,,,156,160,164,166,112,116,118,120,121', '123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,,,,41,142', '145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116,118,120', '121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,,,,41', '142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116,118', '120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,,,,,', ',,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112,116', '118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113,,', ',,,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166,112', '116,118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168,113', ',,,,,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164,166', '112,116,118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165,168', '113,,,,,,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156,160,164', '166,112,116,118,120,121,123,83,,131,134,137,,,147,151,155,158,161,165', '168,113,371,,,,137,,,,41,142,145,148,152,,,,,,,,,,,,,,,,140,,21,,,156', '160,164,166,112,116,118,120,,,140,,,,,156,160,164,166,112,116,118,120', '170,,,,137,,,,,,41,142,145,148,152,170,,,,137,,,,,,41,142,145,148,152', ',,,,,,,,,,,270,,140,,,271,,156,160,164,166,112,116,118,120,,,140,,,', ',156,160,164,166,112,116,118,120,170,388,,,137,,,,,,41,142,145,148,152', '170,,,,137,,,,,,41,142,145,148,152,,,,,,,,,,,,270,,140,,,271,,156,160', '164,166,112,116,118,120,,,140,,,,,156,160,164,166,112,116,118,120,170', '437,,,137,,,,,,41,142,145,148,152,170,,,,137,,,,,,41,142,145,148,152', ',,,,,,,,,,,270,,140,,,271,,156,160,164,166,112,116,118,120,,,140,,,', ',156,160,164,166,112,116,118,120,170,,,,137,,,,,,41,142,145,148,152', '384,,137,,,,,,,,41,142,145,148,152,,,,,,,,,,,,270,,140,,,271,,156,160', '164,166,112,116,118,120,140,,203,,137,156,160,164,166,112,116,118,120', ',,382,,137,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140', ',,,,156,160,164,166,112,116,118,120,140,,,,,156,160,164,166,112,116', '118,120,,,,,,,,,,,,,41,142,145,148,152,338,,137,,,,,,41,142,145,148', '152,,,4,7,9,11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1', '5,,,140,,21,,,156,160,164,166,112,116,118,120,416,,137,,,,,,,,,,,,,137', ',,,,,,,,,41,142,145,148,152,,,,,,,,,,,,140,,,,,156,160,164,166,112,116', '118,120,140,,,,,156,160,164,166,112,116,118,120,,,137,,,,,,,,,,41,142', '145,148,152,177,137,,,,,,,41,142,145,148,152,,,,,,32,36,1,,,178,179', ',,,,156,160,164,166,112,116,118,120,,,,140,,,,137,156,160,164,166,112', '116,118,120,,,,,,,,,,41,142,145,148,152,137,,,,,,,,,,,41,142,145,148', '152,140,,,,137,156,160,164,166,112,116,118,120,,,,,32,36,1,,,,140,,', ',137,156,160,164,166,112,116,118,120,,,41,142,145,148,152,140,,,,137', '156,160,164,166,112,116,118,120,,,,,,41,142,145,148,152,140,,,,,156', '160,164,166,112,116,118,120,,,41,142,145,148,152,140,,,,,156,160,164', '166,112,116,118,120,,,,,,41,142,145,148,152,,,137,,,,,,,,,,,,,41,142', '145,148,152,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,,,,140', ',21,,137,156,160,164,166,112,116,118,120,,,,,137,,,,,,,,,,,,,,,,,,,', ',41,142,145,148,152,140,,,,,156,160,164,166,112,116,118,120,140,,,,137', '156,160,164,166,112,116,118,120,,,,,137,411,,,,,,,41,142,145,148,152', ',,,,,,,,41,142,145,148,152,140,,,,,156,160,164,166,112,116,118,120,140', ',,,,156,160,164,166,112,116,118,120,137,414,,,,,,,,,,,41,142,145,148', '152,137,336,,,,,,,41,142,145,148,152,,,,,,,,,,140,,,,,156,160,164,166', '112,116,118,120,,,,,140,,,,137,156,160,164,166,112,116,118,120,,,,,', ',,,41,142,145,148,152,,,,,,,,,,,,,41,142,145,148,152,140,,,,,156,160', '164,166,112,116,118,120,,,,,,,,,,,,,137,,,,,,,,,,,,,41,142,145,148,152', '18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,,,,140,,21,,137,156', '160,164,166,112,116,118,120,,,,,137,,,,,,,,,,,,,,,,,,,,,41,142,145,148', '152,140,,,,,156,160,164,166,112,116,118,120,140,,,,,156,160,164,166', '112,116,118,120,137,426,,,,,,,,,,,41,142,145,148,152,137,,,,,,,,41,142', '145,148,152,,,,,,,,,,140,,,,,156,160,164,166,112,116,118,120,,,,,140', ',,,,156,160,164,166,112,116,118,120,137,430,,,,,,,41,142,145,148,152', '137,,,,,,,,,,,,41,142,145,148,152,,,,,,,,,,140,,,,,156,160,164,166,112', '116,118,120,140,,,,137,156,160,164,166,112,116,118,120,,,,,137,,,,,', ',,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140,,,,,156,160,164', '166,112,116,118,120,140,,,,137,156,160,164,166,112,116,118,120,,,,,', ',,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140,,,,,156,160', '164,166,112,116,118,120,,,,,,,,,,,,,137,,,,,,,,,,,,,41,142,145,148,152', '18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,,,,140,,21,,137,156', '160,164,166,112,116,118,120,,,,,137,,,,,,,,,,,,,,,,,,,,,41,142,145,148', '152,140,,,,,156,160,164,166,112,116,118,120,140,,,,137,156,160,164,166', '112,116,118,120,,,,,,137,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145', '148,152,140,,,,,156,160,164,166,112,116,118,120,396,397,,,,137,156,160', '164,166,112,116,118,120,,,,,137,435,,,,,,41,142,145,148,152,,,,,,,,', ',41,142,145,148,152,140,,,,,156,160,164,166,112,116,118,120,140,,,,', '156,160,164,166,112,116,118,120,137,446,,,,,,,,,,,41,142,145,148,152', '238,,,,,,,,41,142,145,148,152,,,,,,,,,,140,,,,,156,160,164,166,112,116', '118,120,,,,,140,,,,137,156,160,164,166,112,116,118,120,,,,,238,,,,41', '142,145,148,152,,,,,,,,,,,,,41,142,145,148,152,140,,,,,156,160,164,166', '112,116,118,120,140,,,,137,156,160,164,166,112,116,118,120,,,,,137,', ',,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140,,,,,156,160', '164,166,112,116,118,120,140,,,,137,156,160,164,166,112,116,118,120,', ',,,264,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140,,,,', '156,160,164,166,112,116,118,120,140,,,,137,156,160,164,166,112,116,118', '120,,,,,137,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140', ',,,,156,160,164,166,112,116,118,120,140,,,,137,156,160,164,166,112,116', '118,120,,,,,,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152,140', ',,,,156,160,164,166,112,116,118,120,137,,,,,,,,,,,,,137,,276,,,,,,,', ',,41,142,145,148,152,,,,32,36,1,,,277,278,,,,,156,160,164,166,112,116', '118,120,140,,,,,156,160,164,166,112,116,118,120,137,,,,,,,,,,,,41,142', '145,148,152,137,,,,,,,,41,142,145,148,152,,,,32,36,1,,,,140,,,,,156', '160,164,166,112,116,118,120,,,,,140,,,,137,156,160,164,166,112,116,118', '120,,,,,137,,,,41,142,145,148,152,,,,,,,,,,,,,41,142,145,148,152,140', ',,,,156,160,164,166,112,116,118,120,140,,,,137,156,160,164,166,112,116', '118,120,,,,,137,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148,152', '140,,,,,156,160,164,166,112,116,118,120,140,,,,,156,160,164,166,112', '116,118,120,137,,,,,,,,,,,,41,142,145,148,152,,,,,,,,,41,142,145,148', '152,,,,,,,,,361,362,,,,,156,160,164,166,112,116,118,120,,,,,,,,,,,,', ',,,,,291,367,,,,,,,41,142,145,148,152,4,7,9,11,14,18,23,27,30,35,38', '3,6,8,10,13,17,22,26,29,32,36,1,5,287,186,53,,21,,,,,,,,,4,7,9,11,14', '18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,41,21,,,,,,,', ',,,,,,,45,,,,,,,,,,,,,,,,,,,,,41,4,7,9,11,14,18,23,27,30,35,38,3,6,8', '10,13,17,22,26,29,32,36,1,5,83,,,,21,,,,,,,,,,,,86,4,7,9,11,14,18,23', '27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,83,,,,21,,,,,,,,,,,,,4', '7,9,11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,91,,,', '21,,,,,,,,,,,,,,,,,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1', '193,,,,,21,,,,,,,,,,,,,,,,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29', '32,36,1,194,,,,,21,,,,,,,,,,,,,,,,18,23,27,30,35,38,3,6,8,10,13,17,22', '26,29,32,36,1,320,367,,,,21,,,,,,,,4,7,9,11,14,18,23,27,30,35,38,3,6', '8,10,13,17,22,26,29,32,36,1,5,287,399,53,,21,,,,,,,,,4,7,9,11,14,18', '23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,,21,4,7,9,11,14', '18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,,21,4,7,9,11', '14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,,21,4,7,9', '11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,,21,4,7', '9,11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,,21,4', '7,9,11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,,,,359', '21,4,7,9,11,14,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,5,', ',,,21,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,,,,,,21,18,23', '27,30,35,38,3,6,8,10,13,17,22,26,29,32,36,1,,,,,,21,18,23,27,30,35,38', '3,6,8,10,13,17,22,26,29,32,36,1,,,,,,21,18,23,27,30,35,38,3,6,8,10,13', '17,22,26,29,32,36,1,,,,,,21,18,23,27,30,35,38,3,6,8,10,13,17,22,26,29', '32,36,1,,,,,,21' ] racc_action_table = arr = ::Array.new(4320, nil) str = a = i = nil idx = 0 clist.each do |str| str.split(',', -1).each do |i| arr[idx] = i.to_i unless i.empty? idx += 1 end end clist = [ '451,451,451,185,451,451,451,225,331,451,451,451,451,451,451,451,451', '31,58,31,324,63,191,321,81,289,60,368,63,191,161,335,398,157,104,331', '52,144,324,80,185,335,185,329,225,451,225,451,104,52,451,451,451,451', '451,451,451,451,31,202,321,81,289,60,368,103,161,63,191,201,157,316', '202,199,101,157,157,157,157,103,185,316,344,451,451,451,451,451,83,83', '83,83,83,83,83,58,31,83,83,83,83,83,83,83,83,63,191,83,83,83,83,83,83', '83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,83,29,347,83,323', '83,308,308,83,83,83,83,83,83,83,83,447,447,447,201,447,447,447,199,101', '447,447,447,447,447,447,447,447,403,268,353,2,115,355,302,69,83,83,83', '83,83,29,403,273,163,115,115,302,302,69,407,85,360,85,268,362,447,273', '447,268,407,447,447,447,447,447,447,447,447,446,446,446,292,446,446', '446,2,29,446,446,446,446,446,446,446,446,147,77,77,77,313,313,85,77', '447,447,447,447,447,163,163,163,163,163,163,163,163,163,163,292,149', '76,2,365,446,366,446,309,309,446,446,446,446,446,446,446,446,442,442', '442,85,442,442,442,301,151,442,442,442,442,442,442,442,442,381,93,162', '301,301,292,76,415,446,446,446,446,446,381,93,162,383,425,339,74,415', '73,429,139,139,57,71,425,442,383,442,339,429,442,442,442,442,442,442', '442,442,439,439,439,76,439,439,439,410,328,439,439,439,439,439,439,439', '439,410,328,136,224,326,181,57,434,442,442,442,442,442,224,326,181,445', '434,134,413,317,53,53,53,119,119,445,53,439,413,439,307,307,439,439', '439,439,439,439,439,439,435,435,435,57,435,435,435,306,306,435,435,435', '435,435,435,435,435,312,312,312,312,311,311,311,311,439,439,439,439', '439,122,122,122,122,304,304,303,303,125,125,117,117,377,314,226,435', '133,435,130,158,435,435,435,435,435,435,435,435,216,216,216,127,216', '216,216,386,211,216,216,216,216,216,216,216,216,395,397,330,402,123', '284,165,281,435,435,435,435,435,168,278,95,275,271,51,50,49,424,235', '45,42,236,40,248,216,176,216,247,179,216,216,216,216,216,216,216,216', '155,155,155,180,155,155,155,106,241,155,155,155,155,155,155,155,155', '182,240,315,,,,,,216,216,216,216,216,,,,,,,,,,,,,,,,155,,155,,,155,155', '155,155,155,155,155,155,431,431,431,,431,431,431,,,431,431,431,431,431', '431,431,431,,,,,,,,,155,155,155,155,155,,,,,,,,,,,,,,,,431,,431,,,431', '431,431,431,431,431,431,431,430,430,430,,430,430,430,,,430,430,430,430', '430,430,430,430,,,,,,,,,431,431,431,431,431,,,,,,,,,,,,,,,,430,,430', ',,430,430,430,430,430,430,430,430,427,427,427,,427,427,427,,,427,427', '427,427,427,427,427,427,,,,,,,,,430,430,430,430,430,,,,,,,,,,,,,,,,427', ',427,,,427,427,427,427,427,427,427,427,426,426,426,,426,426,426,,,426', '426,426,426,426,426,426,426,,,,,,,,,427,427,427,427,427,,,,,,,,,,,,', ',,,426,,426,,,426,426,426,426,426,426,426,426,370,370,370,,370,370,370', ',,370,370,370,370,370,370,370,370,,,,,,,,,426,426,426,426,426,,,,,,', ',,,,,,,,,370,,370,,218,370,370,370,370,370,370,370,370,421,421,421,', '421,421,421,,,421,421,421,421,421,421,421,421,,,,,,,,,370,370,370,370', '370,218,,,,,218,218,218,218,218,218,218,218,,,421,,421,,,421,421,421', '421,421,421,421,421,,,,,,,,,,,218,218,218,218,218,,,,,,,,,,,421,421', '421,421,421,153,153,153,153,153,153,153,,,153,153,153,153,153,153,153', '153,,,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153,153', '153,153,153,153,153,153,153,153,,,153,,153,,,153,153,153,153,153,153', '153,153,414,414,414,,414,414,414,,,414,414,414,414,414,414,414,414,', ',,,,,,,153,153,153,153,153,,,,,,,,,,,,,,,,414,,414,,,414,414,414,414', '414,414,414,414,229,229,229,,229,229,229,,,229,229,229,229,229,229,229', '229,,,,,,,,,414,414,414,414,414,,,,,,,,,,,,,,,,229,,229,,,229,229,229', '229,229,229,229,229,411,411,411,,411,411,411,,,411,411,411,411,411,411', '411,411,,,,,,,,,229,229,229,229,229,,,,,,,,,,,,,,,,411,,411,,,411,411', '411,411,411,411,411,411,375,375,375,,375,375,375,,,375,375,375,375,375', '375,375,375,,,,,,,,,411,411,411,411,411,,,,,,,,,,,,,,,,375,,375,,,375', '375,375,375,375,375,375,375,305,305,305,,305,305,305,,,305,305,305,305', '305,305,305,305,,,,,,,,,375,375,375,375,375,,,,,,,,,,,,,,,,305,,305', ',,305,305,305,305,305,305,305,305,374,374,374,,374,374,374,,,374,374', '374,374,374,374,374,374,,,,,,,,,305,305,305,305,305,,,,,,,,,,,,,,,,374', ',374,,,374,374,374,374,374,374,374,374,231,231,231,,231,231,231,,,231', '231,231,231,231,231,231,231,322,,,,322,,,,374,374,374,374,374,,,,,,', ',,,,,,,,,231,,231,,,231,231,231,231,231,231,231,231,,,322,,,,,322,322', '322,322,322,322,322,322,170,,,,170,,,,,,231,231,231,231,231,274,,,,274', ',,,,,322,322,322,322,322,,,,,,,,,,,,170,,170,,,170,,170,170,170,170', '170,170,170,170,,,274,,,,,274,274,274,274,274,274,274,274,350,350,,', '350,,,,,,170,170,170,170,170,86,,,,86,,,,,,274,274,274,274,274,,,,,', ',,,,,,350,,350,,,350,,350,350,350,350,350,350,350,350,,,86,,,,,86,86', '86,86,86,86,86,86,423,423,,,423,,,,,,350,350,350,350,350,390,,,,390', ',,,,,86,86,86,86,86,,,,,,,,,,,,423,,423,,,423,,423,423,423,423,423,423', '423,423,,,390,,,,,390,390,390,390,390,390,390,390,371,,,,371,,,,,,423', '423,423,423,423,338,,338,,,,,,,,390,390,390,390,390,,,,,,,,,,,,371,', '371,,,371,,371,371,371,371,371,371,371,371,338,,113,,113,338,338,338', '338,338,338,338,338,,,337,,337,,,,,,,,371,371,371,371,371,,,,,,,,,338', '338,338,338,338,113,,,,,113,113,113,113,113,113,113,113,337,,,,,337', '337,337,337,337,337,337,337,,,,,,,,,,,,,113,113,113,113,113,245,,245', ',,,,,337,337,337,337,337,,,245,245,245,245,245,245,245,245,245,245,245', '245,245,245,245,245,245,245,245,245,245,245,245,245,,,245,,245,,,245', '245,245,245,245,245,245,245,385,,385,,,,,,,,,,,,,373,,,,,,,,,,245,245', '245,245,245,,,,,,,,,,,,385,,,,,385,385,385,385,385,385,385,385,373,', ',,,373,373,373,373,373,373,373,373,,,88,,,,,,,,,,385,385,385,385,385', '88,376,,,,,,,373,373,373,373,373,,,,,,88,88,88,,,88,88,,,,,88,88,88', '88,88,88,88,88,,,,376,,,,92,376,376,376,376,376,376,376,376,,,,,,,,', ',88,88,88,88,88,280,,,,,,,,,,,376,376,376,376,376,92,,,,276,92,92,92', '92,92,92,92,92,,,,,280,280,280,,,,280,,,,379,280,280,280,280,280,280', '280,280,,,92,92,92,92,92,276,,,,270,276,276,276,276,276,276,276,276', ',,,,,280,280,280,280,280,379,,,,,379,379,379,379,379,379,379,379,,,276', '276,276,276,276,270,,,,,270,270,270,270,270,270,270,270,,,,,,379,379', '379,379,379,,,264,,,,,,,,,,,,,270,270,270,270,270,264,264,264,264,264', '264,264,264,264,264,264,264,264,264,264,264,264,264,,,,264,,264,,102', '264,264,264,264,264,264,264,264,,,,,262,,,,,,,,,,,,,,,,,,,,,264,264', '264,264,264,102,,,,,102,102,102,102,102,102,102,102,262,,,,250,262,262', '262,262,262,262,262,262,,,,,382,382,,,,,,,102,102,102,102,102,,,,,,', ',,262,262,262,262,262,250,,,,,250,250,250,250,250,250,250,250,382,,', ',,382,382,382,382,382,382,382,382,384,384,,,,,,,,,,,250,250,250,250', '250,243,243,,,,,,,382,382,382,382,382,,,,,,,,,,384,,,,,384,384,384,384', '384,384,384,384,,,,,243,,,,239,243,243,243,243,243,243,243,243,,,,,', ',,,384,384,384,384,384,,,,,,,,,,,,,243,243,243,243,243,239,,,,,239,239', '239,239,239,239,239,239,,,,,,,,,,,,,238,,,,,,,,,,,,,239,239,239,239', '239,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238,238', '238,238,,,,238,,238,,121,238,238,238,238,238,238,238,238,,,,,232,,,', ',,,,,,,,,,,,,,,,,238,238,238,238,238,121,,,,,121,121,121,121,121,121', '121,121,232,,,,,232,232,232,232,232,232,232,232,409,409,,,,,,,,,,,121', '121,121,121,121,230,,,,,,,,232,232,232,232,232,,,,,,,,,,409,,,,,409', '409,409,409,409,409,409,409,,,,,230,,,,,230,230,230,230,230,230,230', '230,412,412,,,,,,,409,409,409,409,409,228,,,,,,,,,,,,230,230,230,230', '230,,,,,,,,,,412,,,,,412,412,412,412,412,412,412,412,228,,,,227,228', '228,228,228,228,228,228,228,,,,,223,,,,,,,,412,412,412,412,412,,,,,', ',,,228,228,228,228,228,227,,,,,227,227,227,227,227,227,227,227,223,', ',,222,223,223,223,223,223,223,223,223,,,,,,,,,,,,,227,227,227,227,227', ',,,,,,,,223,223,223,223,223,222,,,,,222,222,222,222,222,222,222,222', ',,,,,,,,,,,,137,,,,,,,,,,,,,222,222,222,222,222,137,137,137,137,137', '137,137,137,137,137,137,137,137,137,137,137,137,137,,,,137,,137,,221', '137,137,137,137,137,137,137,137,,,,,220,,,,,,,,,,,,,,,,,,,,,137,137', '137,137,137,221,,,,,221,221,221,221,221,221,221,221,220,,,,219,220,220', '220,220,220,220,220,220,,,,,,363,,,,,,,221,221,221,221,221,,,,,,,,,220', '220,220,220,220,219,,,,,219,219,219,219,219,219,219,219,363,363,,,,217', '363,363,363,363,363,363,363,363,,,,,416,416,,,,,,219,219,219,219,219', ',,,,,,,,,363,363,363,363,363,217,,,,,217,217,217,217,217,217,217,217', '416,,,,,416,416,416,416,416,416,416,416,433,433,,,,,,,,,,,217,217,217', '217,217,156,,,,,,,,416,416,416,416,416,,,,,,,,,,433,,,,,433,433,433', '433,433,433,433,433,,,,,156,,,,215,156,156,156,156,156,156,156,156,', ',,,160,,,,433,433,433,433,433,,,,,,,,,,,,,156,156,156,156,156,215,,', ',,215,215,215,215,215,215,215,215,160,,,,214,160,160,160,160,160,160', '160,160,,,,,213,,,,,,,,215,215,215,215,215,,,,,,,,,160,160,160,160,160', '214,,,,,214,214,214,214,214,214,214,214,213,,,,212,213,213,213,213,213', '213,213,213,,,,,164,,,,,,,,214,214,214,214,214,,,,,,,,,213,213,213,213', '213,212,,,,,212,212,212,212,212,212,212,212,164,,,,210,164,164,164,164', '164,164,164,164,,,,,167,,,,,,,,212,212,212,212,212,,,,,,,,,164,164,164', '164,164,210,,,,,210,210,210,210,210,210,210,210,167,,,,209,167,167,167', '167,167,167,167,167,,,,,,,,,,,,,210,210,210,210,210,,,,,,,,,167,167', '167,167,167,209,,,,,209,209,209,209,209,209,209,209,175,,,,,,,,,,,,', '208,,175,,,,,,,,,,209,209,209,209,209,,,,175,175,175,,,175,175,,,,,175', '175,175,175,175,175,175,175,208,,,,,208,208,208,208,208,208,208,208', '177,,,,,,,,,,,,175,175,175,175,175,207,,,,,,,,208,208,208,208,208,,', ',177,177,177,,,,177,,,,,177,177,177,177,177,177,177,177,,,,,207,,,,206', '207,207,207,207,207,207,207,207,,,,,205,,,,177,177,177,177,177,,,,,', ',,,,,,,207,207,207,207,207,206,,,,,206,206,206,206,206,206,206,206,205', ',,,204,205,205,205,205,205,205,205,205,,,,,192,,,,,,,,206,206,206,206', '206,,,,,,,,,205,205,205,205,205,204,,,,,204,204,204,204,204,204,204', '204,192,,,,,192,192,192,192,192,192,192,192,287,,,,,,,,,,,,204,204,204', '204,204,,,,,,,,,192,192,192,192,192,,,,,,,,,287,287,,,,,287,287,287', '287,287,287,287,287,,,,,,,,,,,,,,,,,,291,291,,,,,,,287,287,287,287,287', '291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291,291', '291,291,291,291,291,291,291,291,89,291,,291,,,,,,,,,89,89,89,89,89,89', '89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,89,,,,291,89,,,,', ',,,,,,,,,,16,,,,,,,,,,,,,,,,,,,,,89,16,16,16,16,16,16,16,16,16,16,16', '16,16,16,16,16,16,16,16,16,16,16,16,16,59,,,,16,,,,,,,,,,,,59,59,59', '59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,59,87', ',,,59,,,,,,,,,,,,,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87,87', '87,87,87,87,87,87,87,61,,,,87,,,,,,,,,,,,,,,,,61,61,61,61,61,61,61,61', '61,61,61,61,61,61,61,61,61,61,98,,,,,61,,,,,,,,,,,,,,,,98,98,98,98,98', '98,98,98,98,98,98,98,98,98,98,98,98,98,99,,,,,98,,,,,,,,,,,,,,,,99,99', '99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,320,320,,,,99,,,,,,', ',320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320,320', '320,320,320,320,320,320,320,320,364,320,,320,,,,,,,,,364,364,364,364', '364,364,364,364,364,364,364,364,364,364,364,364,364,364,364,364,364', '364,364,364,,,,,364,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19', '19,19,19,19,19,19,19,19,,,,,19,24,24,24,24,24,24,24,24,24,24,24,24,24', '24,24,24,24,24,24,24,24,24,24,24,,,,,24,15,15,15,15,15,15,15,15,15,15', '15,15,15,15,15,15,15,15,15,15,15,15,15,15,,,,,15,12,12,12,12,12,12,12', '12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,,,,,12,286,286,286', '286,286,286,286,286,286,286,286,286,286,286,286,286,286,286,286,286', '286,286,286,286,,,,286,286,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0', '0,0,0,,,,,0,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,65,,', ',,,65,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,,,,,,64', '39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,39,,,,,,39,66,66', '66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,,,,,,66,67,67,67,67', '67,67,67,67,67,67,67,67,67,67,67,67,67,67,,,,,,67' ] racc_action_check = arr = ::Array.new(4320, nil) str = a = i = nil idx = 0 clist.each do |str| str.split(',', -1).each do |i| arr[idx] = i.to_i unless i.empty? idx += 1 end end racc_action_pointer = [ 4149, nil, 161, nil, nil, nil, nil, nil, nil, nil, nil, nil, 4091, nil, nil, 4062, 3702, nil, nil, 4004, nil, nil, nil, nil, 4033, nil, nil, nil, nil, 126, nil, 10, nil, nil, nil, nil, nil, nil, nil, 4221, 474, nil, 472, nil, nil, 476, nil, nil, nil, 387, 467, 466, 29, 316, nil, nil, nil, 295, 9, 3743, 17, 3824, nil, 19, 4197, 4173, 4245, 4269, nil, 164, nil, 284, nil, 214, 212, nil, 237, 180, nil, nil, 29, 15, nil, 85, nil, 179, 1490, 3784, 1878, 3637, nil, nil, 1937, 273, nil, 466, nil, nil, 3863, 3902, nil, 68, 2130, 59, 28, nil, 480, nil, nil, nil, nil, nil, nil, 1673, nil, 119, nil, 361, nil, 298, nil, 2418, 343, 455, nil, 347, nil, 383, nil, nil, 355, nil, nil, 352, 346, nil, 266, 2728, nil, 228, nil, nil, nil, nil, 35, nil, nil, 212, nil, 243, nil, 261, nil, 927, nil, 491, 2966, 24, 418, nil, 3022, -20, 274, 158, 3134, 452, nil, 3190, 459, nil, 1404, nil, nil, nil, nil, 3285, 435, 3350, nil, 438, 487, 332, 491, nil, nil, -6, nil, nil, nil, nil, nil, 20, 3479, nil, nil, nil, nil, nil, nil, 67, nil, 63, 52, nil, 3466, 3423, 3410, 3367, 3298, 3233, 3177, 442, 3121, 3078, 3065, 3009, 433, 2884, 824, 2827, 2784, 2771, 2664, 2621, 330, -2, 412, 2608, 2565, 1043, 2500, 1333, 2431, nil, nil, 462, 476, nil, 2375, 2311, 426, 416, nil, 2268, nil, 1757, nil, 477, 473, nil, 2186, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 2143, nil, 2087, nil, nil, nil, 143, nil, 2023, 384, nil, 172, 1419, 422, 1980, nil, 420, nil, 1960, 413, nil, nil, 372, nil, 4120, 3531, nil, 16, nil, 3600, 198, nil, nil, nil, nil, nil, nil, nil, nil, 221, 121, 357, 355, 1217, 322, 305, 73, 189, nil, 334, 330, 156, 365, 442, 61, 285, nil, nil, 3938, 14, 1348, 61, 18, nil, 331, nil, 318, 34, 445, -12, nil, nil, nil, 21, nil, 1686, 1630, 290, nil, nil, nil, nil, 72, nil, nil, 85, nil, nil, 1475, nil, nil, 118, nil, 121, nil, nil, nil, nil, 140, nil, 143, 2841, 3975, 238, 240, nil, 18, nil, 781, 1617, nil, 1824, 1275, 1159, 1894, 415, nil, 2003, nil, 272, 2199, 288, 2251, 1811, 438, nil, nil, nil, 1561, nil, nil, nil, nil, 406, nil, 407, 22, nil, nil, nil, 445, 157, nil, nil, nil, 175, nil, 2483, 317, 1101, 2552, 346, 985, 279, 2897, nil, nil, nil, nil, 839, nil, 1546, 467, 286, 723, 665, nil, 291, 607, 549, nil, 2949, 334, 375, nil, nil, nil, 317, nil, nil, 259, nil, nil, 343, 201, 143, nil, nil, nil, -3, nil, nil, nil ] racc_action_default = [ -261, -117, -261, -75, -64, -118, -76, -65, -77, -66, -78, -67, -53, -79, -68, -55, -261, -80, -69, -57, -1, -166, -89, -70, -59, -3, -90, -71, -4, -261, -72, -261, -115, -83, -81, -73, -116, -82, -74, -261, -86, -255, -88, -52, -54, -261, -2, -56, -58, -261, -107, -110, -261, -136, -121, -60, -51, -261, -261, -62, -120, -261, -91, -261, -95, -97, -261, -261, 455, -261, -111, -113, -259, -261, -261, -50, -261, -135, -139, -138, -261, -119, -6, -261, -7, -261, -261, -261, -261, -261, -92, -85, -261, -261, -98, -100, -94, -96, -261, -261, -104, -261, -261, -261, -261, -61, -62, -140, -137, -122, -252, -209, -203, -261, -23, -213, -204, -216, -205, -219, -206, -261, -224, -261, -10, -227, -24, -229, -20, -9, -231, -26, -11, -233, -261, -12, -235, -261, -13, -237, -202, -14, -256, -239, -179, -257, -183, -261, -258, -83, -180, -261, -260, -261, -181, -261, -261, -195, -261, -21, -261, -261, -261, -207, -261, -261, -201, -261, -261, -167, -261, -179, -63, -5, -8, -261, -261, -261, -126, -202, -261, -261, -141, -143, -148, -147, -134, -207, -102, -254, -93, -261, -261, -84, -87, -106, -112, -114, -103, -261, -108, -261, -261, -48, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -261, -151, -261, -261, -261, -261, -261, -261, -261, -19, -22, -261, -261, -196, -261, -261, -261, -261, -189, -261, -190, -261, -197, -261, -261, -25, -261, -243, -244, -245, -246, -247, -248, -249, -250, -251, -242, -241, -261, -199, -261, -45, -198, -46, -261, -175, -261, -261, -171, -261, -261, -261, -261, -124, -202, -125, -261, -261, -131, -132, -261, -133, -261, -261, -146, -154, -145, -261, -152, -99, -101, -105, -109, -47, -210, -211, -212, -214, -215, -217, -218, -261, -221, -222, -223, -220, -17, -225, -226, -228, -230, -232, -261, -234, -182, -150, -261, -152, -261, -236, -261, -15, -261, -18, -261, -261, -261, -261, -187, -188, -193, -261, -186, -261, -261, -261, -44, -49, -253, -240, -261, -176, -174, -261, -178, -168, -261, -170, -123, -261, -130, -261, -128, -149, -144, -142, -261, -159, -202, -261, -261, -261, -261, -165, -153, -16, -261, -261, -208, -261, -261, -261, -261, -261, -184, -261, -185, -261, -261, -261, -261, -261, -200, -177, -169, -173, -261, -129, -127, -158, -161, -261, -157, -202, -261, -163, -164, -155, -27, -261, -238, -29, -30, -261, -194, -261, -261, -261, -261, -261, -261, -261, -261, -172, -156, -160, -162, -261, -191, -261, -261, -261, -261, -261, -43, -261, -261, -261, -39, -261, -261, -261, -28, -192, -31, -261, -41, -42, -261, -37, -38, -261, -261, -261, -35, -40, -36, -261, -33, -34, -32 ] racc_goto_table = [ 42, 31, 172, 169, 189, 176, 202, 180, 81, 273, 77, 188, 79, 43, 189, 94, 44, 31, 96, 97, 47, 197, 40, 226, 90, 48, 84, 51, 196, 159, 224, 266, 288, 189, 390, 16, 108, 20, 64, 82, 211, 335, 368, 301, 302, 175, 61, 358, 59, 50, 114, 54, 181, 46, 174, 306, 307, 308, 309, 345, 64, 90, 90, 64, 64, 64, 64, 173, 298, 299, 300, 368, 319, 98, 99, 93, 69, 54, 54, 105, 95, 149, 153, 54, 303, 304, 313, 169, 311, 312, 185, 225, 275, 106, 281, 235, 54, 64, 64, 234, 103, 104, 106, 144, 189, 54, 314, 390, 315, 184, 317, 294, 323, 87, 262, 316, nil, nil, nil, nil, 114, 324, nil, 326, 330, 328, 196, nil, 196, nil, nil, 224, 331, nil, 280, nil, 64, nil, 339, nil, nil, nil, nil, 293, 292, nil, nil, nil, nil, nil, 344, 149, nil, 236, nil, nil, 310, 224, nil, 248, 334, nil, nil, nil, nil, nil, nil, 342, nil, 325, nil, 327, nil, 144, nil, 144, nil, nil, nil, 343, nil, 247, 189, nil, 321, nil, 372, nil, nil, 347, 351, 169, 225, 353, nil, nil, nil, 355, nil, nil, nil, nil, 290, nil, 360, 54, nil, nil, 95, nil, 403, 54, 337, nil, 236, nil, nil, nil, 225, nil, nil, nil, nil, nil, nil, nil, nil, 236, nil, 236, 381, 383, nil, nil, nil, nil, 144, 64, nil, nil, nil, nil, 81, nil, nil, 369, nil, nil, nil, 144, 292, 144, nil, nil, nil, nil, nil, nil, nil, nil, 332, 333, nil, 64, nil, nil, 389, 169, nil, 407, nil, nil, nil, nil, nil, 410, nil, 413, 415, 321, 395, nil, 398, nil, nil, 404, nil, 185, 169, nil, nil, 348, 185, nil, nil, nil, 408, nil, nil, nil, nil, nil, 425, 236, 357, 429, 417, 169, nil, 434, 402, 54, 54, nil, 405, 406, nil, nil, nil, nil, nil, 185, nil, nil, nil, 144, 445, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 389, 169, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 428, nil, nil, 432, nil, nil, nil, nil, nil, nil, 436, nil, nil, nil, 185, 440, 441, 236, nil, 443, 444, 236, 236, nil, 448, nil, nil, nil, 449, nil, nil, 450, nil, nil, nil, 452, 453, 187, nil, 144, 454, nil, nil, 144, 144, nil, nil, 187, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 236, nil, nil, 236, nil, nil, nil, nil, 187, nil, 236, nil, nil, nil, nil, 236, 236, nil, nil, 236, 236, nil, 144, nil, 236, 144, nil, nil, 236, nil, nil, 236, 144, nil, nil, 236, 236, 144, 144, nil, 236, 144, 144, 237, nil, nil, 144, 246, nil, nil, 144, 263, nil, 144, 187, nil, nil, 144, 144, nil, 65, nil, 144, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 78, nil, nil, nil, nil, 187, nil, nil, 65, nil, nil, 65, 65, 65, 65, nil, nil, 187, 187, 187, 187, 187, 187, 187, 107, 187, 187, 187, 187, nil, 187, 187, 187, 187, 187, 78, 187, nil, nil, nil, 187, nil, nil, nil, nil, 65, 65, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 187, 65, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 107, nil, 78, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 187, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 65, 187, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 65, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 107 ] racc_goto_check = [ 17, 5, 27, 42, 72, 42, 20, 43, 40, 50, 41, 16, 39, 5, 72, 35, 5, 5, 33, 33, 5, 16, 15, 48, 32, 5, 4, 17, 37, 19, 20, 61, 47, 72, 51, 1, 39, 2, 23, 8, 16, 58, 49, 62, 62, 41, 31, 46, 6, 15, 4, 15, 44, 2, 4, 64, 64, 64, 64, 53, 23, 32, 32, 23, 23, 23, 23, 8, 61, 61, 61, 49, 47, 31, 31, 34, 36, 15, 15, 26, 6, 17, 18, 15, 63, 63, 66, 42, 65, 65, 5, 33, 42, 6, 42, 9, 15, 23, 23, 19, 36, 36, 6, 15, 72, 15, 67, 51, 68, 15, 69, 16, 70, 7, 73, 20, nil, nil, nil, nil, 4, 20, nil, 20, 48, 20, 37, nil, 37, nil, nil, 20, 20, nil, 41, nil, 23, nil, 20, nil, nil, nil, nil, 35, 39, nil, nil, nil, nil, nil, 48, 17, nil, 17, nil, nil, 9, 20, nil, 17, 42, nil, nil, nil, nil, nil, nil, 42, nil, 9, nil, 9, nil, 15, nil, 15, nil, nil, nil, 42, nil, 15, 72, nil, 39, nil, 61, nil, nil, 16, 27, 42, 33, 42, nil, nil, nil, 42, nil, nil, nil, nil, 6, nil, 42, 15, nil, nil, 6, nil, 50, 15, 4, nil, 17, nil, nil, nil, 33, nil, nil, nil, nil, nil, nil, nil, nil, 17, nil, 17, 20, 20, nil, nil, nil, nil, 15, 23, nil, nil, nil, nil, 40, nil, nil, 9, nil, nil, nil, 15, 39, 15, nil, nil, nil, nil, nil, nil, nil, nil, 15, 15, nil, 23, nil, nil, 27, 42, nil, 20, nil, nil, nil, nil, nil, 20, nil, 20, 20, 39, 42, nil, 43, nil, nil, 72, nil, 5, 42, nil, nil, 15, 5, nil, nil, nil, 42, nil, nil, nil, nil, nil, 20, 17, 15, 20, 27, 42, nil, 20, 9, 15, 15, nil, 9, 9, nil, nil, nil, nil, nil, 5, nil, nil, nil, 15, 20, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 27, 42, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 9, nil, nil, 9, nil, nil, nil, nil, nil, nil, 9, nil, nil, nil, 5, 9, 9, 17, nil, 9, 9, 17, 17, nil, 9, nil, nil, nil, 9, nil, nil, 9, nil, nil, nil, 9, 9, 59, nil, 15, 9, nil, nil, 15, 15, nil, nil, 59, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 17, nil, nil, 17, nil, nil, nil, nil, 59, nil, 17, nil, nil, nil, nil, 17, 17, nil, nil, 17, 17, nil, 15, nil, 17, 15, nil, nil, 17, nil, nil, 17, 15, nil, nil, 17, 17, 15, 15, nil, 17, 15, 15, 59, nil, nil, 15, 59, nil, nil, 15, 59, nil, 15, 59, nil, nil, 15, 15, nil, 24, nil, 15, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 24, nil, nil, nil, nil, 59, nil, nil, 24, nil, nil, 24, 24, 24, 24, nil, nil, 59, 59, 59, 59, 59, 59, 59, 24, 59, 59, 59, 59, nil, 59, 59, 59, 59, 59, 24, 59, nil, nil, nil, 59, nil, nil, nil, nil, 24, 24, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 59, 24, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 24, nil, 24, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 59, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 24, 59, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 24, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 24 ] racc_goto_pointer = [ nil, 35, 37, nil, -33, 1, 17, 54, -20, -60, nil, nil, nil, nil, nil, 20, -81, -2, -1, -54, -107, nil, nil, -1, 430, nil, 3, -84, nil, nil, nil, 7, -37, -46, 12, -48, 27, -73, nil, -41, -50, -43, -83, -82, -37, nil, -239, -153, -114, -250, -161, -316, nil, -209, nil, nil, nil, nil, -202, 296, nil, -136, -164, -125, -157, -129, -133, -114, -113, -113, -115, nil, -88, -49 ] racc_goto_default = [ nil, nil, nil, 25, 28, 85, 80, nil, 124, 126, 129, 132, 135, 138, 141, 171, nil, 33, nil, nil, 162, 52, 12, 15, 19, 24, 55, 272, 34, 37, 2, nil, 62, 63, nil, nil, nil, 70, 71, 58, 60, nil, 110, 365, nil, 182, 183, 366, nil, 289, nil, 274, 268, 269, 146, 150, 154, 157, nil, 163, 167, 111, 115, 117, 119, 122, 125, 127, 130, 133, 136, 139, 143, nil ] racc_token_table = { false => 0, Object.new => 1, ":" => 2, "case" => 3, "default" => 4, "{" => 5, "}" => 6, ";" => 7, "if" => 8, "(" => 9, ")" => 10, "else" => 11, "switch" => 12, "while" => 13, "do" => 14, "for" => 15, "goto" => 16, "continue" => 17, "break" => 18, "return" => 19, "," => 20, "=" => 21, "typedef" => 22, "extern" => 23, "static" => 24, "auto" => 25, "register" => 26, "void" => 27, "char" => 28, "short" => 29, "int" => 30, "long" => 31, "float" => 32, "double" => 33, "signed" => 34, "unsigned" => 35, "_Bool" => 36, "_Complex" => 37, "_Imaginary" => 38, "struct" => 39, "union" => 40, "enum" => 41, "const" => 42, "restrict" => 43, "volatile" => 44, "inline" => 45, "[" => 46, "]" => 47, "*" => 48, "..." => 49, :TYPE_ID => 50, "." => 51, "->" => 52, "++" => 53, "--" => 54, "sizeof" => 55, "&" => 56, "+" => 57, "-" => 58, "~" => 59, "!" => 60, "/" => 61, "%" => 62, "<<" => 63, ">>" => 64, "<" => 65, ">" => 66, "<=" => 67, ">=" => 68, "==" => 69, "!=" => 70, "^" => 71, "|" => 72, "&&" => 73, "||" => 74, "?" => 75, "*=" => 76, "/=" => 77, "%=" => 78, "+=" => 79, "-=" => 80, "<<=" => 81, ">>=" => 82, "&=" => 83, "^=" => 84, "|=" => 85, :ID => 86, :INT => 87, :FLOAT => 88, :CHAR => 89, :STRING => 90 } racc_use_result_var = true racc_nt_base = 91 Racc_arg = [ racc_action_table, racc_action_check, racc_action_default, racc_action_pointer, racc_goto_table, racc_goto_check, racc_goto_default, racc_goto_pointer, racc_nt_base, racc_reduce_table, racc_token_table, racc_shift_n, racc_reduce_n, racc_use_result_var ] Racc_token_to_s_table = [ '$end', 'error', '":"', '"case"', '"default"', '"{"', '"}"', '";"', '"if"', '"("', '")"', '"else"', '"switch"', '"while"', '"do"', '"for"', '"goto"', '"continue"', '"break"', '"return"', '","', '"="', '"typedef"', '"extern"', '"static"', '"auto"', '"register"', '"void"', '"char"', '"short"', '"int"', '"long"', '"float"', '"double"', '"signed"', '"unsigned"', '"_Bool"', '"_Complex"', '"_Imaginary"', '"struct"', '"union"', '"enum"', '"const"', '"restrict"', '"volatile"', '"inline"', '"["', '"]"', '"*"', '"..."', 'TYPE_ID', '"."', '"->"', '"++"', '"--"', '"sizeof"', '"&"', '"+"', '"-"', '"~"', '"!"', '"/"', '"%"', '"<<"', '">>"', '"<"', '">"', '"<="', '">="', '"=="', '"!="', '"^"', '"|"', '"&&"', '"||"', '"?"', '"*="', '"/="', '"%="', '"+="', '"-="', '"<<="', '">>="', '"&="', '"^="', '"|="', 'ID', 'INT', 'FLOAT', 'CHAR', 'STRING', '$start', 'translation_unit', 'external_declaration', 'function_definition', 'declaration', 'declaration_specifiers', 'declarator', 'declaration_list', 'compound_statement', 'statement', 'labeled_statement', 'expression_statement', 'selection_statement', 'iteration_statement', 'jump_statement', 'identifier', 'constant_expression', 'typedef_name', 'block_item_list', 'block_item', 'expression', 'init_declarator_list', 'storage_class_specifier', 'type_specifier', 'type_qualifier', 'function_specifier', 'init_declarator', 'initializer', 'struct_or_union_specifier', 'enum_specifier', 'struct_or_union', 'struct_declaration_list', 'struct_declaration', 'specifier_qualifier_list', 'struct_declarator_list', 'struct_declarator', 'enumerator_list', 'enumerator', 'enumeration_constant', 'pointer', 'direct_declarator', 'type_qualifier_list', 'assignment_expression', 'parameter_type_list', 'identifier_list', 'parameter_list', 'parameter_declaration', 'abstract_declarator', 'type_name', 'direct_abstract_declarator', 'initializer_list', 'designation', 'designator_list', 'designator', 'primary_expression', 'constant', 'string_literal', 'postfix_expression', 'argument_expression_list', 'unary_expression', 'unary_operator', 'cast_expression', 'multiplicative_expression', 'additive_expression', 'shift_expression', 'relational_expression', 'equality_expression', 'and_expression', 'exclusive_or_expression', 'inclusive_or_expression', 'logical_and_expression', 'logical_or_expression', 'conditional_expression', 'assignment_operator'] Racc_debug_parser = false ##### racc system variables end ##### # reduce 0 omitted module_eval <<'.,.,', 'c.y', 9 def _reduce_1( val, _values, result ) result = TranslationUnit.new_at(val[0].pos, NodeChain[val[0]]) result end .,., module_eval <<'.,.,', 'c.y', 10 def _reduce_2( val, _values, result ) result = val[0]; result.entities << val[1] result end .,., module_eval <<'.,.,', 'c.y', 14 def _reduce_3( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 15 def _reduce_4( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 19 def _reduce_5( val, _values, result ) result = make_function_def(val[0][0], val[0][1], val[1], val[2], val[3]) result end .,., module_eval <<'.,.,', 'c.y', 20 def _reduce_6( val, _values, result ) result = make_function_def(val[0][0], val[0][1], val[1], nil , val[2]) result end .,., module_eval <<'.,.,', 'c.y', 24 def _reduce_7( val, _values, result ) result = [val[0]] result end .,., module_eval <<'.,.,', 'c.y', 25 def _reduce_8( val, _values, result ) result = val[0] << val[1] result end .,., module_eval <<'.,.,', 'c.y', 31 def _reduce_9( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 32 def _reduce_10( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 33 def _reduce_11( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 34 def _reduce_12( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 35 def _reduce_13( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 36 def _reduce_14( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 40 def _reduce_15( val, _values, result ) val[2].labels.unshift(PlainLabel.new_at(val[0].pos, val[0].val)); result = val[2] result end .,., module_eval <<'.,.,', 'c.y', 41 def _reduce_16( val, _values, result ) val[3].labels.unshift(Case .new_at(val[0].pos, val[1] )); result = val[3] result end .,., module_eval <<'.,.,', 'c.y', 42 def _reduce_17( val, _values, result ) val[2].labels.unshift(Default .new_at(val[0].pos )); result = val[2] result end .,., module_eval <<'.,.,', 'c.y', 44 def _reduce_18( val, _values, result ) val[2].labels.unshift(PlainLabel.new_at(val[0].pos, val[0].name)); result = val[2] result end .,., module_eval <<'.,.,', 'c.y', 48 def _reduce_19( val, _values, result ) result = Block.new_at(val[0].pos, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 49 def _reduce_20( val, _values, result ) result = Block.new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 53 def _reduce_21( val, _values, result ) result = NodeChain[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 54 def _reduce_22( val, _values, result ) result = val[0] << val[1] result end .,., module_eval <<'.,.,', 'c.y', 58 def _reduce_23( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 59 def _reduce_24( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 63 def _reduce_25( val, _values, result ) result = ExpressionStatement.new_at(val[0].pos, val[0]) result end .,., module_eval <<'.,.,', 'c.y', 64 def _reduce_26( val, _values, result ) result = ExpressionStatement.new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 68 def _reduce_27( val, _values, result ) result = If .new_at(val[0].pos, val[2], val[4] ) result end .,., module_eval <<'.,.,', 'c.y', 69 def _reduce_28( val, _values, result ) result = If .new_at(val[0].pos, val[2], val[4], val[6]) result end .,., module_eval <<'.,.,', 'c.y', 70 def _reduce_29( val, _values, result ) result = Switch.new_at(val[0].pos, val[2], val[4] ) result end .,., module_eval <<'.,.,', 'c.y', 74 def _reduce_30( val, _values, result ) result = While.new_at(val[0].pos, val[2], val[4] ) result end .,., module_eval <<'.,.,', 'c.y', 75 def _reduce_31( val, _values, result ) result = While.new_at(val[0].pos, val[4], val[1], :do => true ) result end .,., module_eval <<'.,.,', 'c.y', 76 def _reduce_32( val, _values, result ) result = For.new_at(val[0].pos, val[2], val[4], val[6], val[8]) result end .,., module_eval <<'.,.,', 'c.y', 77 def _reduce_33( val, _values, result ) result = For.new_at(val[0].pos, val[2], val[4], nil , val[7]) result end .,., module_eval <<'.,.,', 'c.y', 78 def _reduce_34( val, _values, result ) result = For.new_at(val[0].pos, val[2], nil , val[5], val[7]) result end .,., module_eval <<'.,.,', 'c.y', 79 def _reduce_35( val, _values, result ) result = For.new_at(val[0].pos, val[2], nil , nil , val[6]) result end .,., module_eval <<'.,.,', 'c.y', 80 def _reduce_36( val, _values, result ) result = For.new_at(val[0].pos, nil , val[3], val[5], val[7]) result end .,., module_eval <<'.,.,', 'c.y', 81 def _reduce_37( val, _values, result ) result = For.new_at(val[0].pos, nil , val[3], nil , val[6]) result end .,., module_eval <<'.,.,', 'c.y', 82 def _reduce_38( val, _values, result ) result = For.new_at(val[0].pos, nil , nil , val[4], val[6]) result end .,., module_eval <<'.,.,', 'c.y', 83 def _reduce_39( val, _values, result ) result = For.new_at(val[0].pos, nil , nil , nil , val[5]) result end .,., module_eval <<'.,.,', 'c.y', 84 def _reduce_40( val, _values, result ) result = For.new_at(val[0].pos, val[2], val[3], val[5], val[7]) result end .,., module_eval <<'.,.,', 'c.y', 85 def _reduce_41( val, _values, result ) result = For.new_at(val[0].pos, val[2], val[3], nil , val[6]) result end .,., module_eval <<'.,.,', 'c.y', 86 def _reduce_42( val, _values, result ) result = For.new_at(val[0].pos, val[2], nil , val[4], val[6]) result end .,., module_eval <<'.,.,', 'c.y', 87 def _reduce_43( val, _values, result ) result = For.new_at(val[0].pos, val[2], nil , nil , val[5]) result end .,., module_eval <<'.,.,', 'c.y', 91 def _reduce_44( val, _values, result ) result = Goto .new_at(val[0].pos, val[1].val) result end .,., module_eval <<'.,.,', 'c.y', 92 def _reduce_45( val, _values, result ) result = Continue.new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 93 def _reduce_46( val, _values, result ) result = Break .new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 94 def _reduce_47( val, _values, result ) result = Return .new_at(val[0].pos, val[1] ) result end .,., module_eval <<'.,.,', 'c.y', 95 def _reduce_48( val, _values, result ) result = Return .new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 97 def _reduce_49( val, _values, result ) result = Goto .new_at(val[0].pos, val[1].name) result end .,., module_eval <<'.,.,', 'c.y', 103 def _reduce_50( val, _values, result ) result = make_declaration(val[0][0], val[0][1], val[1]) result end .,., module_eval <<'.,.,', 'c.y', 104 def _reduce_51( val, _values, result ) result = make_declaration(val[0][0], val[0][1], NodeArray[]) result end .,., module_eval <<'.,.,', 'c.y', 108 def _reduce_52( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 109 def _reduce_53( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 110 def _reduce_54( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 111 def _reduce_55( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 112 def _reduce_56( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 113 def _reduce_57( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 114 def _reduce_58( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 115 def _reduce_59( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 119 def _reduce_60( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 120 def _reduce_61( val, _values, result ) result = val[0] << val[2] result end .,., module_eval <<'.,.,', 'c.y', 124 def _reduce_62( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 125 def _reduce_63( val, _values, result ) val[0].init = val[2]; result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 129 def _reduce_64( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 130 def _reduce_65( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 131 def _reduce_66( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 132 def _reduce_67( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 133 def _reduce_68( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 137 def _reduce_69( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 138 def _reduce_70( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 139 def _reduce_71( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 140 def _reduce_72( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 141 def _reduce_73( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 142 def _reduce_74( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 143 def _reduce_75( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 144 def _reduce_76( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 145 def _reduce_77( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 146 def _reduce_78( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 147 def _reduce_79( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 148 def _reduce_80( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 149 def _reduce_81( val, _values, result ) result = [val[0].pos, val[0] ] result end .,., module_eval <<'.,.,', 'c.y', 150 def _reduce_82( val, _values, result ) result = [val[0].pos, val[0] ] result end .,., module_eval <<'.,.,', 'c.y', 151 def _reduce_83( val, _values, result ) result = [val[0].pos, val[0] ] result end .,., module_eval <<'.,.,', 'c.y', 155 def _reduce_84( val, _values, result ) result = val[0][1].new_at(val[0][0], val[1].val, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 156 def _reduce_85( val, _values, result ) result = val[0][1].new_at(val[0][0], nil , val[2]) result end .,., module_eval <<'.,.,', 'c.y', 157 def _reduce_86( val, _values, result ) result = val[0][1].new_at(val[0][0], val[1].val, nil ) result end .,., module_eval <<'.,.,', 'c.y', 159 def _reduce_87( val, _values, result ) result = val[0][1].new_at(val[0][0], val[1].name, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 160 def _reduce_88( val, _values, result ) result = val[0][1].new_at(val[0][0], val[1].name, nil ) result end .,., module_eval <<'.,.,', 'c.y', 164 def _reduce_89( val, _values, result ) result = [val[0].pos, Struct] result end .,., module_eval <<'.,.,', 'c.y', 165 def _reduce_90( val, _values, result ) result = [val[0].pos, Union ] result end .,., module_eval <<'.,.,', 'c.y', 169 def _reduce_91( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 170 def _reduce_92( val, _values, result ) val[0] << val[1]; result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 174 def _reduce_93( val, _values, result ) result = make_declaration(val[0][0], val[0][1], val[1]) result end .,., module_eval <<'.,.,', 'c.y', 178 def _reduce_94( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 179 def _reduce_95( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 180 def _reduce_96( val, _values, result ) val[1][1] << val[0][1]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 181 def _reduce_97( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 185 def _reduce_98( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 186 def _reduce_99( val, _values, result ) result = val[0] << val[2] result end .,., module_eval <<'.,.,', 'c.y', 190 def _reduce_100( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 191 def _reduce_101( val, _values, result ) result = val[0]; val[0].num_bits = val[2] result end .,., module_eval <<'.,.,', 'c.y', 192 def _reduce_102( val, _values, result ) result = Declarator.new_at(val[0].pos, :num_bits => val[1]) result end .,., module_eval <<'.,.,', 'c.y', 196 def _reduce_103( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].val, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 197 def _reduce_104( val, _values, result ) result = Enum.new_at(val[0].pos, nil , val[2]) result end .,., module_eval <<'.,.,', 'c.y', 198 def _reduce_105( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].val, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 199 def _reduce_106( val, _values, result ) result = Enum.new_at(val[0].pos, nil , val[2]) result end .,., module_eval <<'.,.,', 'c.y', 200 def _reduce_107( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].val, nil ) result end .,., module_eval <<'.,.,', 'c.y', 202 def _reduce_108( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].name, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 203 def _reduce_109( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].name, val[3]) result end .,., module_eval <<'.,.,', 'c.y', 204 def _reduce_110( val, _values, result ) result = Enum.new_at(val[0].pos, val[1].name, nil ) result end .,., module_eval <<'.,.,', 'c.y', 208 def _reduce_111( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 209 def _reduce_112( val, _values, result ) result = val[0] << val[2] result end .,., module_eval <<'.,.,', 'c.y', 213 def _reduce_113( val, _values, result ) result = Enumerator.new_at(val[0].pos, val[0].val, nil ) result end .,., module_eval <<'.,.,', 'c.y', 214 def _reduce_114( val, _values, result ) result = Enumerator.new_at(val[0].pos, val[0].val, val[2]) result end .,., module_eval <<'.,.,', 'c.y', 218 def _reduce_115( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 219 def _reduce_116( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 220 def _reduce_117( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 224 def _reduce_118( val, _values, result ) result = [val[0].pos, val[0].val] result end .,., module_eval <<'.,.,', 'c.y', 228 def _reduce_119( val, _values, result ) result = add_decl_type(val[1], val[0]) result end .,., module_eval <<'.,.,', 'c.y', 229 def _reduce_120( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 233 def _reduce_121( val, _values, result ) result = Declarator.new_at(val[0].pos, nil, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 234 def _reduce_122( val, _values, result ) result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 235 def _reduce_123( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 236 def _reduce_124( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 237 def _reduce_125( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos, nil, val[2])) result end .,., module_eval <<'.,.,', 'c.y', 238 def _reduce_126( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 239 def _reduce_127( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 240 def _reduce_128( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 241 def _reduce_129( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 242 def _reduce_130( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 243 def _reduce_131( val, _values, result ) result = add_decl_type(val[0], Array.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 244 def _reduce_132( val, _values, result ) result = add_decl_type(val[0], Function.new_at(val[0].pos, nil, param_list(*val[2]), :var_args => val[2][1])) result end .,., module_eval <<'.,.,', 'c.y', 245 def _reduce_133( val, _values, result ) result = add_decl_type(val[0], Function.new_at(val[0].pos, nil, val[2])) result end .,., module_eval <<'.,.,', 'c.y', 246 def _reduce_134( val, _values, result ) result = add_decl_type(val[0], Function.new_at(val[0].pos )) result end .,., module_eval <<'.,.,', 'c.y', 250 def _reduce_135( val, _values, result ) result = add_type_quals(Pointer.new_at(val[0].pos), val[1][1]) result end .,., module_eval <<'.,.,', 'c.y', 251 def _reduce_136( val, _values, result ) result = Pointer.new_at(val[0].pos) result end .,., module_eval <<'.,.,', 'c.y', 252 def _reduce_137( val, _values, result ) p = add_type_quals(Pointer.new_at(val[0].pos), val[1][1]); val[2].direct_type = p; result = val[2] result end .,., module_eval <<'.,.,', 'c.y', 253 def _reduce_138( val, _values, result ) p = Pointer.new_at(val[0].pos) ; val[1].direct_type = p; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 257 def _reduce_139( val, _values, result ) result = [val[0][0], [val[0][1]]] result end .,., module_eval <<'.,.,', 'c.y', 258 def _reduce_140( val, _values, result ) val[0][1] << val[1][1]; result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 262 def _reduce_141( val, _values, result ) result = [val[0], false] result end .,., module_eval <<'.,.,', 'c.y', 263 def _reduce_142( val, _values, result ) result = [val[0], true ] result end .,., module_eval <<'.,.,', 'c.y', 267 def _reduce_143( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 268 def _reduce_144( val, _values, result ) result = val[0] << val[2] result end .,., module_eval <<'.,.,', 'c.y', 273 def _reduce_145( val, _values, result ) ind_type = val[1].indirect_type and ind_type.detach result = make_parameter(val[0][0], val[0][1], ind_type, val[1].name) result end .,., module_eval <<'.,.,', 'c.y', 274 def _reduce_146( val, _values, result ) result = make_parameter(val[0][0], val[0][1], val[1] , nil ) result end .,., module_eval <<'.,.,', 'c.y', 275 def _reduce_147( val, _values, result ) result = make_parameter(val[0][0], val[0][1], nil , nil ) result end .,., module_eval <<'.,.,', 'c.y', 279 def _reduce_148( val, _values, result ) result = NodeArray[Parameter.new_at(val[0].pos, nil, val[0].val)] result end .,., module_eval <<'.,.,', 'c.y', 280 def _reduce_149( val, _values, result ) result = val[0] << Parameter.new_at(val[2].pos, nil, val[2].val) result end .,., module_eval <<'.,.,', 'c.y', 284 def _reduce_150( val, _values, result ) val[1].direct_type = make_direct_type(val[0][0], val[0][1]); result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 285 def _reduce_151( val, _values, result ) result = make_direct_type(val[0][0], val[0][1]) result end .,., module_eval <<'.,.,', 'c.y', 289 def _reduce_152( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 290 def _reduce_153( val, _values, result ) val[1].direct_type = val[0]; result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 291 def _reduce_154( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 295 def _reduce_155( val, _values, result ) result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 296 def _reduce_156( val, _values, result ) val[0].direct_type = Array.new_at(val[0].pos, nil, val[2]); result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 297 def _reduce_157( val, _values, result ) val[0].direct_type = Array.new_at(val[0].pos, nil, nil ); result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 298 def _reduce_158( val, _values, result ) result = Array.new_at(val[0].pos, nil, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 299 def _reduce_159( val, _values, result ) result = Array.new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 300 def _reduce_160( val, _values, result ) val[0].direct_type = Array.new_at(val[0].pos); result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 301 def _reduce_161( val, _values, result ) result = Array.new_at(val[0].pos) result end .,., module_eval <<'.,.,', 'c.y', 302 def _reduce_162( val, _values, result ) val[0].direct_type = Function.new_at(val[0].pos, nil, param_list(*val[2]), val[2][1]); result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 303 def _reduce_163( val, _values, result ) val[0].direct_type = Function.new_at(val[0].pos ); result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 304 def _reduce_164( val, _values, result ) result = Function.new_at(val[0].pos, nil, param_list(*val[1]), val[1][1]) result end .,., module_eval <<'.,.,', 'c.y', 305 def _reduce_165( val, _values, result ) result = Function.new_at(val[0].pos ) result end .,., module_eval <<'.,.,', 'c.y', 311 def _reduce_166( val, _values, result ) result = CustomType.new_at(val[0].pos, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 315 def _reduce_167( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 316 def _reduce_168( val, _values, result ) result = CompoundLiteral.new_at(val[0].pos, nil, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 317 def _reduce_169( val, _values, result ) result = CompoundLiteral.new_at(val[0].pos, nil, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 321 def _reduce_170( val, _values, result ) result = NodeArray[MemberInit.new_at(val[0][0] , val[0][1], val[1])] result end .,., module_eval <<'.,.,', 'c.y', 322 def _reduce_171( val, _values, result ) result = NodeArray[MemberInit.new_at(val[0].pos, nil , val[0])] result end .,., module_eval <<'.,.,', 'c.y', 323 def _reduce_172( val, _values, result ) result = val[0] << MemberInit.new_at(val[2][0] , val[2][1], val[3]) result end .,., module_eval <<'.,.,', 'c.y', 324 def _reduce_173( val, _values, result ) result = val[0] << MemberInit.new_at(val[2].pos, nil , val[2]) result end .,., module_eval <<'.,.,', 'c.y', 328 def _reduce_174( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 332 def _reduce_175( val, _values, result ) result = val[0]; val[0][1] = NodeArray[val[0][1]] result end .,., module_eval <<'.,.,', 'c.y', 333 def _reduce_176( val, _values, result ) result = val[0]; val[0][1] << val[1][1] result end .,., module_eval <<'.,.,', 'c.y', 337 def _reduce_177( val, _values, result ) result = [val[1].pos, val[1] ] result end .,., module_eval <<'.,.,', 'c.y', 338 def _reduce_178( val, _values, result ) result = [val[1].pos, Member.new_at(val[1].pos, val[1].val)] result end .,., module_eval <<'.,.,', 'c.y', 344 def _reduce_179( val, _values, result ) result = Variable.new_at(val[0].pos, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 345 def _reduce_180( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 346 def _reduce_181( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 347 def _reduce_182( val, _values, result ) result = val[1] result end .,., module_eval <<'.,.,', 'c.y', 351 def _reduce_183( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 352 def _reduce_184( val, _values, result ) result = Index .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 353 def _reduce_185( val, _values, result ) result = Call .new_at(val[0].pos, val[0], val[2] ) result end .,., module_eval <<'.,.,', 'c.y', 354 def _reduce_186( val, _values, result ) result = Call .new_at(val[0].pos, val[0], NodeArray[]) result end .,., module_eval <<'.,.,', 'c.y', 355 def _reduce_187( val, _values, result ) result = Dot .new_at(val[0].pos, val[0], Member.new(val[2].val)) result end .,., module_eval <<'.,.,', 'c.y', 356 def _reduce_188( val, _values, result ) result = Arrow .new_at(val[0].pos, val[0], Member.new(val[2].val)) result end .,., module_eval <<'.,.,', 'c.y', 357 def _reduce_189( val, _values, result ) result = PostInc .new_at(val[0].pos, val[0] ) result end .,., module_eval <<'.,.,', 'c.y', 358 def _reduce_190( val, _values, result ) result = PostDec .new_at(val[0].pos, val[0] ) result end .,., module_eval <<'.,.,', 'c.y', 359 def _reduce_191( val, _values, result ) result = CompoundLiteral.new_at(val[0].pos, val[1], val[4]) result end .,., module_eval <<'.,.,', 'c.y', 360 def _reduce_192( val, _values, result ) result = CompoundLiteral.new_at(val[0].pos, val[1], val[4]) result end .,., module_eval <<'.,.,', 'c.y', 364 def _reduce_193( val, _values, result ) result = NodeArray[val[0]] result end .,., module_eval <<'.,.,', 'c.y', 365 def _reduce_194( val, _values, result ) result = val[0] << val[2] result end .,., module_eval <<'.,.,', 'c.y', 369 def _reduce_195( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 370 def _reduce_196( val, _values, result ) result = PreInc.new_at(val[0].pos, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 371 def _reduce_197( val, _values, result ) result = PreDec.new_at(val[0].pos, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 372 def _reduce_198( val, _values, result ) result = val[0][0].new_at(val[0][1], val[1]) result end .,., module_eval <<'.,.,', 'c.y', 373 def _reduce_199( val, _values, result ) result = Sizeof.new_at(val[0].pos, val[1]) result end .,., module_eval <<'.,.,', 'c.y', 374 def _reduce_200( val, _values, result ) result = Sizeof.new_at(val[0].pos, val[2]) result end .,., module_eval <<'.,.,', 'c.y', 378 def _reduce_201( val, _values, result ) result = [Address , val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 379 def _reduce_202( val, _values, result ) result = [Dereference, val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 380 def _reduce_203( val, _values, result ) result = [Positive , val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 381 def _reduce_204( val, _values, result ) result = [Negative , val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 382 def _reduce_205( val, _values, result ) result = [BitNot , val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 383 def _reduce_206( val, _values, result ) result = [Not , val[0].pos] result end .,., module_eval <<'.,.,', 'c.y', 387 def _reduce_207( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 388 def _reduce_208( val, _values, result ) result = Cast.new_at(val[0].pos, val[1], val[3]) result end .,., module_eval <<'.,.,', 'c.y', 392 def _reduce_209( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 393 def _reduce_210( val, _values, result ) result = Multiply.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 394 def _reduce_211( val, _values, result ) result = Divide .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 395 def _reduce_212( val, _values, result ) result = Mod .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 399 def _reduce_213( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 400 def _reduce_214( val, _values, result ) result = Add .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 401 def _reduce_215( val, _values, result ) result = Subtract.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 405 def _reduce_216( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 406 def _reduce_217( val, _values, result ) result = ShiftLeft .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 407 def _reduce_218( val, _values, result ) result = ShiftRight.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 411 def _reduce_219( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 412 def _reduce_220( val, _values, result ) result = Less.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 413 def _reduce_221( val, _values, result ) result = More.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 414 def _reduce_222( val, _values, result ) result = LessOrEqual.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 415 def _reduce_223( val, _values, result ) result = MoreOrEqual.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 419 def _reduce_224( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 420 def _reduce_225( val, _values, result ) result = Equal .new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 421 def _reduce_226( val, _values, result ) result = NotEqual.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 425 def _reduce_227( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 426 def _reduce_228( val, _values, result ) result = BitAnd.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 430 def _reduce_229( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 431 def _reduce_230( val, _values, result ) result = BitXor.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 435 def _reduce_231( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 436 def _reduce_232( val, _values, result ) result = BitOr.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 440 def _reduce_233( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 441 def _reduce_234( val, _values, result ) result = And.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 445 def _reduce_235( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 446 def _reduce_236( val, _values, result ) result = Or.new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 450 def _reduce_237( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 451 def _reduce_238( val, _values, result ) result = Conditional.new_at(val[0].pos, val[0], val[2], val[4]) result end .,., module_eval <<'.,.,', 'c.y', 455 def _reduce_239( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 456 def _reduce_240( val, _values, result ) result = val[1].new_at(val[0].pos, val[0], val[2]) result end .,., module_eval <<'.,.,', 'c.y', 460 def _reduce_241( val, _values, result ) result = Assign result end .,., module_eval <<'.,.,', 'c.y', 461 def _reduce_242( val, _values, result ) result = MultiplyAssign result end .,., module_eval <<'.,.,', 'c.y', 462 def _reduce_243( val, _values, result ) result = DivideAssign result end .,., module_eval <<'.,.,', 'c.y', 463 def _reduce_244( val, _values, result ) result = ModAssign result end .,., module_eval <<'.,.,', 'c.y', 464 def _reduce_245( val, _values, result ) result = AddAssign result end .,., module_eval <<'.,.,', 'c.y', 465 def _reduce_246( val, _values, result ) result = SubtractAssign result end .,., module_eval <<'.,.,', 'c.y', 466 def _reduce_247( val, _values, result ) result = ShiftLeftAssign result end .,., module_eval <<'.,.,', 'c.y', 467 def _reduce_248( val, _values, result ) result = ShiftRightAssign result end .,., module_eval <<'.,.,', 'c.y', 468 def _reduce_249( val, _values, result ) result = BitAndAssign result end .,., module_eval <<'.,.,', 'c.y', 469 def _reduce_250( val, _values, result ) result = BitXorAssign result end .,., module_eval <<'.,.,', 'c.y', 470 def _reduce_251( val, _values, result ) result = BitOrAssign result end .,., module_eval <<'.,.,', 'c.y', 474 def _reduce_252( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 493 def _reduce_253( val, _values, result ) if val[0].is_a? Comma if val[2].is_a? Comma val[0].exprs.push(*val[2].exprs) else val[0].exprs << val[2] end result = val[0] else if val[2].is_a? Comma val[2].exprs.unshift(val[0]) val[2].pos = val[0].pos result = val[2] else result = Comma.new_at(val[0].pos, NodeArray[val[0], val[2]]) end end result end .,., module_eval <<'.,.,', 'c.y', 496 def _reduce_254( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 511 def _reduce_255( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 515 def _reduce_256( val, _values, result ) result = IntLiteral.new_at(val[0].pos, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 516 def _reduce_257( val, _values, result ) result = FloatLiteral.new_at(val[0].pos, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 519 def _reduce_258( val, _values, result ) result = CharLiteral.new_at(val[0].pos, val[0].val) result end .,., module_eval <<'.,.,', 'c.y', 523 def _reduce_259( val, _values, result ) result = val[0] result end .,., module_eval <<'.,.,', 'c.y', 527 def _reduce_260( val, _values, result ) result = StringLiteral.new_at(val[0].pos, val[0].val) result end .,., def _reduce_none( val, _values, result ) result end end # class Parser end # module C