Обсуждение: pgsql: Distinguish between C and SQL mode for C-style comments.

Поиск
Список
Период
Сортировка

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

От
Michael Meskes
Дата:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8ac5e88f9fc54c480ed1419c0ce94f54653fe8c3

Modified Files
--------------
src/interfaces/ecpg/preproc/pgc.l |   39 +++++++++++++++++++++++++------------
1 file changed, 27 insertions(+), 12 deletions(-)