]> granicus.if.org Git - postgresql/commit
Clean up some sloppy coding in repl_gram.y.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Feb 2014 17:51:14 +0000 (12:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 2 Feb 2014 17:51:14 +0000 (12:51 -0500)
commit46825d4978b63a0ae9637efbf6298220c833fa8d
tree232ae67828c0aa89e08be33cc9931cb95090242f
parent0753bdb352270a03dec52bc959418fa82e9b07cc
Clean up some sloppy coding in repl_gram.y.

Remove unused copy-and-pasted macro definitions, and improve formatting
of recently-added productions.

I got interested in this because buildfarm member protosciurus has been
crashing in "bison repl_gram.y" since commit 858ec11.  It's a long shot
that this will fix that, though maybe the missing trailing semicolon
has something to do with it?  In any case, there's no need to approve
of dead code, nor of code whose formatting isn't even self-consistent
let alone consistent with what's around it.
src/backend/replication/repl_gram.y