Not all C compilers understand the "//" comment in this test case, so I removed it.

REL8_2_STABLE
Michael Meskes 19 years ago
parent 460f46816a
commit 0b33c56297
  1. 7
      src/interfaces/ecpg/test/expected/preproc-comment.c
  2. 3
      src/interfaces/ecpg/test/preproc/comment.pgc

@ -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);
}

@ -9,9 +9,6 @@ exec sql include ../regression;
/* Test comment */
/*--------------------------------------------------------------------------*/
// we also understand this style
int k;
int main(void)
{
ECPGdebug(1, stderr);

Loading…
Cancel
Save