Distinguish between C and SQL mode for C-style comments.

Michael Meskes <meskes@postgresql.org>

Commit: 8ac5e88f9fc54c480ed1419c0ce94f54653fe8c3
Author: Michael Meskes <meskes@postgresql.org>
Date: 2013-11-24T11:26:00Z
Releases: 9.4.0
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.

Files

PathChange+/−
src/interfaces/ecpg/preproc/pgc.l modified +27 −12