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

Commit3e4264c

Browse files
committed
Add %option noinput to contrib's flex scanners, to suppress gcc 4.3
warnings. Peter did this for core awhile ago but evidently missedcontrib.
1 parente5536e7 commit3e4264c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎contrib/cube/cubescan.l

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
/*
33
** A scanner for EMP-style numeric ranges
4-
* $PostgreSQL: pgsql/contrib/cube/cubescan.l,v 1.11 2006/03/11 04:38:28 momjian Exp $
4+
* $PostgreSQL: pgsql/contrib/cube/cubescan.l,v 1.12 2008/08/25 23:12:45 tgl Exp $
55
*/
66

77
#include"postgres.h"
@@ -29,6 +29,7 @@ void cube_scanner_finish(void);
2929
%option8bit
3030
%optionnever-interactive
3131
%optionnodefault
32+
%optionnoinput
3233
%optionnounput
3334
%optionnoyywrap
3435
%optionprefix="cube_yy"

‎contrib/seg/segscan.l

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ void seg_scanner_finish(void);
2727
%option8bit
2828
%optionnever-interactive
2929
%optionnodefault
30+
%optionnoinput
3031
%optionnounput
3132
%optionnoyywrap
3233
%optionprefix="seg_yy"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp