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

Commitb6fdd14

Browse files
committed
ecpg shouldn't depend on parser/gramparse.h. Also, eliminate some
compiler warnings caused by lack of extern declarations in extern.h.I believe the remaining gcc warnings here would go away if the ecpggrammar could be tweaked so it doesn't use REJECT ...
1 parentc02f1ea commitb6fdd14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/interfaces/ecpg/preproc/extern.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ extern void output_line_number(void);
3636
externvoidlex_init(void);
3737
externchar*input_filename;
3838
externintyyparse(void);
39+
externintyylex(void);
40+
externvoidyyerror(char*);
3941
externvoid*mm_alloc(size_t),*mm_realloc(void*,size_t);
4042
externchar*mm_strdup(constchar*);
4143
ScanKeyword*ScanECPGKeywordLookup(char*);
4244
ScanKeyword*ScanCKeywordLookup(char*);
43-
externvoidyyerror(char*);
4445

4546
/* return codes */
4647

‎src/interfaces/ecpg/preproc/pgc.l

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.47 1999/12/21 17:42:16 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/pgc.l,v 1.48 2000/01/20 05:23:26 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -25,7 +25,6 @@
2525
#include"miscadmin.h"
2626
#include"nodes/parsenodes.h"
2727
#include"nodes/pg_list.h"
28-
#include"parser/gramparse.h"
2928
#include"parser/scansup.h"
3029
#include"extern.h"
3130
#include"preproc.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp