libpg_query icon indicating copy to clipboard operation
libpg_query copied to clipboard

Fix parsing of negative integer constants

Open msullivan opened this issue 1 year ago • 0 comments

Currently the value of negative constants are omitted. Only omit 0 constants.

An earlier attempt (#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 #243.

msullivan avatar May 09 '24 20:05 msullivan