lib/import/shake_grammar/lexer.rb in tracksperanto-2.4.1 vs lib/import/shake_grammar/lexer.rb in tracksperanto-2.5.0

- old
+ new

@@ -138,10 +138,10 @@ def vardef(var_specifier) # Since we can have two-word pointers as typedefs (char *) we only use the last # part of the thing as varname. Nodes return the :image type implicitly. varname_re = /\w+$/ - varname = var_specifier.scan(varname_re).to_s + varname = var_specifier.scan(varname_re).flatten.join typedef = var_specifier.gsub(varname_re, '').strip typedef = :image if typedef.empty? [:vardef, typedef, varname] end \ No newline at end of file