forked from pganalyze/libpg_query
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing of negative integer constants
Currently the value of negative constants are omitted. Only omit *0* constants. An earlier attempt (pganalyze#244) caused a mismatch with the protobuf json output, since that wants to omit values that are equal to the default value. I don't *really* think that is particularly sensible behavior for an integer constant in an AST, but oh well. Fixes pganalyze#243.
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters