OSDN Git Service

ECPG only copied #include statements instead of processing them according to
authorMichael Meskes <meskes@postgresql.org>
Sun, 21 Mar 2010 10:49:52 +0000 (10:49 +0000)
committerMichael Meskes <meskes@postgresql.org>
Sun, 21 Mar 2010 10:49:52 +0000 (10:49 +0000)
commit1d66a1cca1e0ad649beba720466461b4af7fddd4
tree5afbde57617f667d1209d39056aea760ad4e900f
parent6ad4249b5cde27e914acfa64a9bad268ece61fe2
ECPG only copied #include statements instead of processing them according to
commandline option "-i". This change fixes this and adds a test case. It also
honors #include_next, although this is probably never used for embedded SQL.
src/interfaces/ecpg/preproc/pgc.l
src/interfaces/ecpg/test/compat_informix/rnull.pgc
src/interfaces/ecpg/test/compat_informix/test_informix.pgc
src/interfaces/ecpg/test/expected/compat_informix-rnull.c
src/interfaces/ecpg/test/expected/compat_informix-test_informix.c
src/interfaces/ecpg/test/expected/preproc-strings.c
src/interfaces/ecpg/test/expected/preproc-strings.stderr
src/interfaces/ecpg/test/preproc/Makefile
src/interfaces/ecpg/test/preproc/strings.h [new file with mode: 0644]
src/interfaces/ecpg/test/preproc/strings.pgc