Fixed behaviour of character classes, so that the escaping works like Ruby single...
commitb0091bb2d30b0e9bf276ab3dffc8334b244f199a
authorClifford Heath <clifford.heath@gmail.com>
Sat, 16 Feb 2008 07:08:38 +0000 (16 18:08 +1100)
committerClifford Heath <clifford.heath@gmail.com>
Sat, 16 Feb 2008 07:08:38 +0000 (16 18:08 +1100)
treee98ba8d9a561ca1ecf68389f809034002da66866
parent12c8cf99c7409a9af9577d43bdf57421275a2563
Fixed behaviour of character classes, so that the escaping works like Ruby single-quoted strings passed to Regex.new
lib/treetop/compiler/metagrammar.rb
lib/treetop/compiler/metagrammar.treetop
lib/treetop/compiler/node_classes/atomic_expression.rb
lib/treetop/compiler/node_classes/character_class.rb
spec/compiler/character_class_spec.rb
spec/spec_helper.rb
spec/spec_suite.rb