public
Description: A Ruby-based parsing DSL based on parsing expression grammars.
Homepage: http://treetop.rubyforge.org
Clone URL: git://github.com/nathansobo/treetop.git
Search Repo:
Compile errors were using the old broken TerminalSyntaxNode code, now 
using failure_reason
cjheath (author)
Wed Dec 12 22:34:48 -0800 2007
commit  c3a94894fe05175f82fdb6da14eb1cea26ffef20
tree    7debe3d5154d5169d02d0befe17ee4b237cab4a4
parent  e911740ca6f2face3da040ae56fd958d2b33c855
...
12
13
14
15
 
16
17
18
...
12
13
14
 
15
16
17
18
0
@@ -12,7 +12,7 @@ module Treetop
0
           parser = MetagrammarParser.new
0
           result = parser.parse(source_file.read)
0
           unless result
0
- raise RuntimeError.new(parser.terminal_failures.map {|failure| failure.to_s}.join("\n"))
0
+ raise RuntimeError.new(parser.failure_reason)
0
           end
0
           result.compile
0
         end

Comments

    No one has commented yet.