Skip to content

Commit

Permalink
parser/parser.y: S/R conflicts 1->0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Mercl committed Sep 11, 2015
1 parent 00ba6dc commit ee84db6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions parser/parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ import (
%precedence '('
%precedence lowerThanQuick
%precedence quick
%precedence lowerThanComma
%precedence ','

%start Start

Expand Down Expand Up @@ -1047,7 +1049,7 @@ CreateSpecificationList:
* )
*******************************************************************/
CreateTableStmt:
"CREATE" "TABLE" IfNotExists TableIdent '(' TableElementListOpt ')' TableOptListOpt CommaOpt
"CREATE" "TABLE" IfNotExists TableIdent '(' TableElementListOpt ')' TableOptListOpt
{
tes := $6.([]interface {})
var columnDefs []*coldef.ColumnDef
Expand Down Expand Up @@ -2841,7 +2843,7 @@ TableOptListOpt:
{
$$ = []*coldef.TableOpt{}
}
| TableOptList
| TableOptList %prec lowerThanComma

TableOptList:
TableOpt
Expand Down

0 comments on commit ee84db6

Please sign in to comment.