Closed nikkypx closed 8 years ago
I was just following along in the README and it might be worth adding if you use the .tt extension for your grammar file than you must specify .tt in Treetop.load 'my_grammar.tt' because it defaults to a .treetop extension
Don't be shy, send a PR :smile:
https://github.com/cjheath/treetop/blob/master/lib/treetop/polyglot.rb
Processed the PR.
I was just following along in the README and it might be worth adding if you use the .tt extension for your grammar file than you must specify .tt in Treetop.load 'my_grammar.tt' because it defaults to a .treetop extension