Skip to content

Commit 0b33c56

Browse files
author
Michael Meskes
committed
Not all C compilers understand the "//" comment in this test case, so I removed it.
1 parent 460f468 commit 0b33c56

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/interfaces/ecpg/test/expected/preproc-comment.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,16 @@
2727
/* Test comment */
2828
/*--------------------------------------------------------------------------*/
2929

30-
// we also understand this style
31-
int k;
32-
3330
int main(void)
3431
{
3532
ECPGdebug(1, stderr);
3633

3734
{ ECPGconnect(__LINE__, 0, "regress1" , NULL,NULL , NULL, 0); }
38-
#line 20 "comment.pgc"
35+
#line 17 "comment.pgc"
3936

4037

4138
{ ECPGdisconnect(__LINE__, "CURRENT");}
42-
#line 22 "comment.pgc"
39+
#line 19 "comment.pgc"
4340

4441
exit (0);
4542
}

src/interfaces/ecpg/test/preproc/comment.pgc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ exec sql include ../regression;
99
/* Test comment */
1010
/*--------------------------------------------------------------------------*/
1111

12-
// we also understand this style
13-
int k;
14-
1512
int main(void)
1613
{
1714
ECPGdebug(1, stderr);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy