update parser

This commit is contained in:
Torsten Ruger 2016-03-06 10:48:14 +02:00
parent a8b815117f
commit d7b210d63a
3 changed files with 7 additions and 10 deletions

View File

@ -6,8 +6,8 @@ gem "ast" , :github => "whitequark/ast"
gem "rake" gem "rake"
gem "rye" gem "rye"
gem "salama-reader" , :github => "salama/salama-reader" gem "soml-parser" , :github => "salama/soml-parser"
#gem "salama-reader" , :path => "../salama-reader" #gem "soml-parser" , :path => "../soml-parser"
gem "salama-object-file" , :github => "salama/salama-object-file" gem "salama-object-file" , :github => "salama/salama-object-file"
#gem "salama-object-file" , :path => "../salama-object-file" #gem "salama-object-file" , :path => "../salama-object-file"
gem "salama-arm" , :github => "salama/salama-arm" gem "salama-arm" , :github => "salama/salama-arm"

View File

@ -11,10 +11,10 @@ GIT
salama-object-file (0.3.0) salama-object-file (0.3.0)
GIT GIT
remote: git://github.com/salama/salama-reader.git remote: git://github.com/salama/soml-parser.git
revision: 6ae4b624b07bb86ceb24acb27ad0ac83be2ecc1e revision: 4a9b492dd9fb1d7cbc6f114aee226ff227753568
specs: specs:
salama-reader (0.4.0) soml-parser (0.5.0)
ast (~> 2.1.0) ast (~> 2.1.0)
parslet (~> 1.7.1) parslet (~> 1.7.1)
@ -105,9 +105,6 @@ GEM
simplecov-html (~> 0.10.0) simplecov-html (~> 0.10.0)
simplecov-html (0.10.0) simplecov-html (0.10.0)
slop (3.6.0) slop (3.6.0)
soml-parser (0.5.0)
ast (~> 2.1.0)
parslet (~> 1.7.1)
storable (0.8.9) storable (0.8.9)
sysinfo (0.8.1) sysinfo (0.8.1)
drydock drydock
@ -130,7 +127,7 @@ DEPENDENCIES
salama! salama!
salama-arm! salama-arm!
salama-object-file! salama-object-file!
salama-reader! soml-parser!
BUNDLED WITH BUNDLED WITH
1.11.2 1.11.2

View File

@ -2,7 +2,7 @@ require 'parslet'
require "logging" require "logging"
require "elf/object_writer" require "elf/object_writer"
require 'salama-reader' require 'soml-parser'
AST::Node.class_eval do AST::Node.class_eval do
def first def first
children.first children.first