Skip to content

Commit

Permalink
Corrected MINUS_OR_DIGIT error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanlescure committed Oct 23, 2014
1 parent 78dac26 commit a2fbfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sql_parser/sql_create_table.treetop
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ grammar SQLCreateTable
end

rule optional_default
SPACES "DEFAULT" SPACES (quoted_string / NULL_KEYWORD / MINUS_OR_DIGIT+)
SPACES "DEFAULT" SPACES (quoted_string / NULL_KEYWORD / integer)
/
SPACES "default" SPACES (quoted_string / NULL_KEYWORD / MINUS_OR_DIGIT+)
SPACES "default" SPACES (quoted_string / NULL_KEYWORD / integer)
end

rule optional_auto_increment
Expand Down

0 comments on commit a2fbfec

Please sign in to comment.