Small "language barrier" fixes. Only 9 failing tests now.
Cat's Eye Technologies
11 years ago
523 | 523 | return StringLiteral.new(s) |
524 | 524 | elseif scanner.type() == "arg" then |
525 | 525 | debug "parsing arg" |
526 | num = scanner.text().to_i() | |
526 | num = tonumber(scanner.text()) | |
527 | 527 | scanner.scan() |
528 | 528 | return Argument.new(num) |
529 | 529 | elseif scanner.type() == "ident" then |
669 | 669 | |
670 | 670 | Object = VeloObject.new 'Object' |
671 | 671 | Object.set('extend', VeloMethod.new('extend', function(obj, args) |
672 | return obj.velo_extend(args[0]) | |
672 | return obj.velo_extend(args[1]) | |
673 | 673 | end)) |
674 | 674 | |
675 | 675 | Object.set('self', VeloMethod.new('self', function(obj, args) |