Adding tables

This commit is contained in:
2019-12-08 11:24:29 +00:00
parent 5430222e26
commit 0ea1bb2e3d
10 changed files with 299 additions and 32 deletions

View File

@@ -17,7 +17,7 @@ DropStmt = 'Drop Table', Identifier ;
ColumnSpecList = ColumnSpec | ColumnSpecList, ',', ColumnSpec ;
ColumnSpec = Identifier, ColumnType | Identifier, ColumnType, ColumnOption ;
ColumnType = 'String', '(', number, ')' | 'Int' | 'Integer' ;
ColumnType = 'String', '(', integer, ')' | 'Int' | 'Integer' ;
ColumnOption = 'Index' ;
FieldList = Identifier | FieldList, ',', Identifier ;
@@ -29,4 +29,4 @@ Comparison = Identifier, Comparator, Value;
Comparator = '=' | '<>';
Identifier = { letter, '_' } , { letter | digit | '_' } ;
Value = "'", string, "'" | '"', string, '"' | number ;
Value = "'", string, "'" | '"', string, '"' | integer ;