lib/nql/grammar.rb in nql-0.0.2 vs lib/nql/grammar.rb in nql-0.0.3
- old
+ new
@@ -391,11 +391,11 @@
'!=' => 'not_eq',
'>' => 'gt',
'>=' => 'gteq',
'<' => 'lt',
'<=' => 'lteq',
- '%' => 'cont'
+ ':' => 'cont'
}
comparators[text_value]
end
end
@@ -471,14 +471,14 @@
r7 = nil
end
if r7
r1 = r7
else
- if has_terminal?('%', false, index)
+ if has_terminal?(':', false, index)
r8 = instantiate_node(SyntaxNode,input, index...(index + 1))
@index += 1
else
- terminal_parse_failure('%')
+ terminal_parse_failure(':')
r8 = nil
end
if r8
r1 = r8
else
\ No newline at end of file