Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/flex/bin source files are scan.l and parse.y



details:   https://anonhg.NetBSD.org/src/rev/6c7b2f724501
branches:  trunk
changeset: 763035:6c7b2f724501
user:      plunky <plunky%NetBSD.org@localhost>
date:      Tue Mar 08 19:25:32 2011 +0000

description:
source files are scan.l and parse.y

in particular, parse.y was being processed twice.. with one
process leaving a y.tab.h file behind

no need to explicitly add scan.c, parse.c and parse.h to CLEANFILES,
the framework knows they are generated and will remove them

diffstat:

 external/bsd/flex/bin/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r ba23f132aca7 -r 6c7b2f724501 external/bsd/flex/bin/Makefile
--- a/external/bsd/flex/bin/Makefile    Tue Mar 08 19:11:27 2011 +0000
+++ b/external/bsd/flex/bin/Makefile    Tue Mar 08 19:25:32 2011 +0000
@@ -1,5 +1,5 @@
 #      from: @(#)Makefile      5.4 (Berkeley) 6/24/90
-#      $NetBSD: Makefile,v 1.8 2010/04/07 16:14:35 christos Exp $
+#      $NetBSD: Makefile,v 1.9 2011/03/08 19:25:32 plunky Exp $
 #
 # By default, flex will be configured to generate 8-bit scanners only if the
 # -8 flag is given.  If you want it to always generate 8-bit scanners, add
@@ -25,9 +25,9 @@
 misc.c \
 nfa.c \
 options.c \
-parse.c \
+parse.y \
 regex.c \
-scan.c \
+scan.l \
 scanflags.c \
 scanopt.c \
 skel.c \
@@ -38,7 +38,7 @@
 yylex.c
 
 YHEADER=1
-CLEANFILES+=scan.c skel.c parse.c parse.h
+CLEANFILES+=skel.c
 INCS   =FlexLexer.h
 INCSDIR=/usr/include/g++
 LDADD+=-lm



Home | Main Index | Thread Index | Old Index