]> granicus.if.org Git - postgresql/commit
Distinguish between C and SQL mode for C-style comments.
authorMichael Meskes <meskes@postgresql.org>
Sun, 24 Nov 2013 11:26:00 +0000 (12:26 +0100)
committerMichael Meskes <meskes@postgresql.org>
Sun, 24 Nov 2013 11:26:00 +0000 (12:26 +0100)
commit8ac5e88f9fc54c480ed1419c0ce94f54653fe8c3
treee71cb0b011cbc509fadbb04de5c83b5c77b74e71
parent64d15e424091d8fd2c882356ee4bf07cfc5ff69d
Distinguish between C and SQL mode for C-style comments.

SQL standard asks for allowing nested comments, while C does not. Therefore the
two comments, while mostly similar, have to be parsed seperately.
src/interfaces/ecpg/preproc/pgc.l