Skip to content

Commit

Permalink
Signed Numeric Literal reversal
Browse files Browse the repository at this point in the history
  • Loading branch information
jddurand committed Dec 13, 2014
1 parent bd05549 commit fab6944
Show file tree
Hide file tree
Showing 6 changed files with 1,092 additions and 1,122 deletions.
4 changes: 1 addition & 3 deletions etc/sql-2003-2.ebnf
Original file line number Diff line number Diff line change
Expand Up @@ -923,9 +923,7 @@
<hexit> ::= <digit> | A | B | C | D | E | F | a | b | c | d | e | f

/* Revisited to truely match when there is a sign. In the other case the unsigned rule will take over */
/* <signed numeric literal L0> ~ <sign L0> <unsigned numeric literal L0 internal> */
<signed numeric literal L0> ~ <sign L0> <unsigned numeric literal L0 internal>
<signed numeric literal> ::= <signed numeric literal L0> semanticAction => _signedNumericLiteral
<signed numeric literal> ::= <sign>? <unsigned numeric literal>

<unsigned numeric literal L0 internal> ~ <exact numeric literal L0> | <approximate numeric literal L0>
<unsigned numeric literal L0> ~ <unsigned numeric literal L0 internal>
Expand Down
Loading

0 comments on commit fab6944

Please sign in to comment.