lib/activefacts/cql/compiler.rb in activefacts-1.1.0 vs lib/activefacts/cql/compiler.rb in activefacts-1.2.0
- old
+ new
@@ -63,9 +63,10 @@
# The syntax tree created from each parsed CQL statement gets passed to the block.
# parse_all returns an array of the block's non-nil return values.
ok = parse_all(@string, :definition) do |node|
trace :parse, "Parsed '#{node.text_value.gsub(/\s+/,' ').strip}'" do
+ trace :lex, (proc { node.inspect })
begin
ast = node.ast
next unless ast
trace :ast, ast.inspect
ast.tree = node