sql-parser-vlad 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,7 @@ class SQLParser::Parser < Racc::Parser
45
45
 
46
46
  def next_token
47
47
  return if @ss.eos?
48
-
48
+
49
49
  # skips empty actions
50
50
  until token = _next_token or @ss.eos?; end
51
51
  token
@@ -243,6 +243,9 @@ class SQLParser::Parser < Racc::Parser
243
243
  when (text = @ss.scan(/\+/i))
244
244
  action { [:plus_sign, text] }
245
245
 
246
+ when (text = @ss.scan(/\%/i))
247
+ action { [:modulo, text] }
248
+
246
249
  when (text = @ss.scan(/\-/i))
247
250
  action { [:minus_sign, text] }
248
251