Distinguish between C and SQL mode for C-style comments.
Michael Meskes <meskes@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/preproc/pgc.l | modified | +27 −12 |