File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -627,7 +627,7 @@ TAS = @TAS@
627
627
ifdef FLEX
628
628
$(FLEX) $(if $(FLEX_NO_BACKUP),-b) $(FLEXFLAGS) -o'$@' $<
629
629
@$(if $(FLEX_NO_BACKUP),if [ `wc -l <lex.backup` -eq 1 ]; then rm lex.backup; else echo "Scanner requires backup; see lex.backup." 1>&2; exit 1; fi)
630
- $(if $(FLEX_FIX_WARNING),$(PERL) $(top_srcdir)/src/tools/fix-flex-warning .pl '$@')
630
+ $(if $(FLEX_FIX_WARNING),$(PERL) $(top_srcdir)/src/tools/fix-old- flex-code .pl '$@')
631
631
else
632
632
@$(missing) flex $< '$@'
633
633
endif
Original file line number Diff line number Diff line change 1
1
# !/usr/bin/perl -w
2
2
# ----------------------------------------------------------------------
3
3
#
4
- # fix-flex-warning .pl
4
+ # fix-old- flex-code .pl
5
5
#
6
6
# flex versions before 2.5.36, with certain option combinations, produce
7
7
# code that causes an "unused variable" warning. That's annoying, so
11
11
# Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
12
12
# Portions Copyright (c) 1994, Regents of the University of California
13
13
#
14
- # src/tools/fix-flex-warning .pl
14
+ # src/tools/fix-old- flex-code .pl
15
15
#
16
16
# ----------------------------------------------------------------------
17
17
55
55
sub usage
56
56
{
57
57
die <<EOM;
58
- Usage: fix-flex-warning .pl c-file-name
58
+ Usage: fix-old- flex-code .pl c-file-name
59
59
60
- fix-flex-warning .pl modifies a flex output file to suppress
60
+ fix-old- flex-code .pl modifies a flex output file to suppress
61
61
an unused-variable warning that occurs with older flex versions.
62
62
63
63
Report bugs to <pgsql-bugs\@ postgresql.org>.
Original file line number Diff line number Diff line change 60
60
{
61
61
# Reentrant scanners usually need a fix to prevent
62
62
# "unused variable" warnings with older flex versions.
63
- system (" perl src\\ tools\\ fix-flex-warning .pl $output " );
63
+ system (" perl src\\ tools\\ fix-old- flex-code .pl $output " );
64
64
}
65
65
else
66
66
{
You can’t perform that action at this time.
0 commit comments