From: Michael Meskes Date: Fri, 8 Sep 2006 14:58:27 +0000 (+0000) Subject: Not all C compilers understand the "//" comment in this test case, so I removed it. X-Git-Tag: REL8_2_BETA1~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b33c562970e4f23d2fa06b05a6e30254daef3aa;p=postgresql Not all C compilers understand the "//" comment in this test case, so I removed it. --- diff --git a/src/interfaces/ecpg/test/expected/preproc-comment.c b/src/interfaces/ecpg/test/expected/preproc-comment.c index 39d092aa9e..23e81708ee 100644 --- a/src/interfaces/ecpg/test/expected/preproc-comment.c +++ b/src/interfaces/ecpg/test/expected/preproc-comment.c @@ -27,19 +27,16 @@ /* Test comment */ /*--------------------------------------------------------------------------*/ -// we also understand this style -int k; - int main(void) { ECPGdebug(1, stderr); { ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); } -#line 20 "comment.pgc" +#line 17 "comment.pgc" { ECPGdisconnect(__LINE__, "CURRENT");} -#line 22 "comment.pgc" +#line 19 "comment.pgc" exit (0); } diff --git a/src/interfaces/ecpg/test/preproc/comment.pgc b/src/interfaces/ecpg/test/preproc/comment.pgc index 5ef3b695ee..f921850990 100644 --- a/src/interfaces/ecpg/test/preproc/comment.pgc +++ b/src/interfaces/ecpg/test/preproc/comment.pgc @@ -9,9 +9,6 @@ exec sql include ../regression; /* Test comment */ /*--------------------------------------------------------------------------*/ -// we also understand this style -int k; - int main(void) { ECPGdebug(1, stderr);