Merge lp:~oontvoo/akiban-sql-parser/optional_semi into lp:~akiban-technologies/akiban-sql-parser/trunk
Proposed by
Vy Nguyen
Status: | Rejected |
---|---|
Rejected by: | Vy Nguyen |
Proposed branch: | lp:~oontvoo/akiban-sql-parser/optional_semi |
Merge into: | lp:~akiban-technologies/akiban-sql-parser/trunk |
Diff against target: |
244 lines (+127/-4) 14 files modified
src/main/javacc/SQLGrammar.jj (+15/-3) src/test/resources/com/akiban/sql/parser/alter-table-1.error (+1/-0) src/test/resources/com/akiban/sql/parser/alter-table-2.error (+2/-1) src/test/resources/com/akiban/sql/parser/mysql-1x.error (+1/-0) src/test/resources/com/akiban/sql/parser/mysql-2x.error (+1/-0) src/test/resources/com/akiban/sql/parser/mysql-4x.error (+1/-0) src/test/resources/com/akiban/sql/parser/test-no-semi-2.expected (+32/-0) src/test/resources/com/akiban/sql/parser/test-no-semi-2.sql (+1/-0) src/test/resources/com/akiban/sql/parser/test-semi-1.expected (+32/-0) src/test/resources/com/akiban/sql/parser/test-semi-1.sql (+1/-0) src/test/resources/com/akiban/sql/parser/test-semi-3.expected (+32/-0) src/test/resources/com/akiban/sql/parser/test-semi-3.sql (+2/-0) src/test/resources/com/akiban/sql/unparser/multiple/multiple-4.expected (+3/-0) src/test/resources/com/akiban/sql/unparser/multiple/multiple-4.sql (+3/-0) |
To merge this branch: | bzr merge lp:~oontvoo/akiban-sql-parser/optional_semi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Akiban Technologies | Pending | ||
Review via email: mp+154448@code.launchpad.net |
Description of the change
allow optional semicolon at the end
To post a comment you must log in.
Unmerged revisions
- 300. By Vy Nguyen
-
rename misleading test
- 299. By Vy Nguyen
-
more tests with and without SEMI at the end
- 298. By Vy Nguyen
-
clean up
- 297. By Vy Nguyen
-
rewrite conditions to avoid warnings
- 296. By Vy Nguyen
-
add lookahead to disallow duplicate SEMI
- 295. By Vy Nguyen
-
add lookahead to disallow duplicate SEMI
- 294. By Vy Nguyen
-
add tests
- 293. By Vy Nguyen
-
allow optional SEMI at the end
The grammar and API already provide for this in the existing via Statement/ parseStatement and StatementList/ parseStatements .
I don't think conflating the two at this level adds much benefit.