Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b33c56

Browse files
author
Michael Meskes
committed
Not all C compilers understand the "//" comment in this test case, so I removed it.
1 parent460f468 commit0b33c56

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-
intk;
32-
3330
intmain(void)
3431
{
3532
ECPGdebug(1,stderr);
3633

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

4037

4138
{ECPGdisconnect(__LINE__,"CURRENT");}
42-
#line22 "comment.pgc"
39+
#line19 "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)

[8]ページ先頭

©2009-2025 Movatter.jp