Source-Changes-HG archive

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

[src/trunk]: src/tools/lex short circuit lex and yacc rules.



details:   https://anonhg.NetBSD.org/src/rev/66bf04ea1008
branches:  trunk
changeset: 748650:66bf04ea1008
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 30 00:30:20 2009 +0000

description:
short circuit lex and yacc rules.

diffstat:

 tools/lex/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 98cb8bb8c478 -r 66bf04ea1008 tools/lex/Makefile
--- a/tools/lex/Makefile        Thu Oct 29 21:11:57 2009 +0000
+++ b/tools/lex/Makefile        Fri Oct 30 00:30:20 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2009/10/29 17:16:40 christos Exp $
+#      $NetBSD: Makefile,v 1.9 2009/10/30 00:30:20 christos Exp $
 
 HOSTPROGNAME=  ${_TOOL_PREFIX}lex
 HOST_SRCDIR=   external/bsd/flex/bin
@@ -6,6 +6,9 @@
 .include "${.CURDIR}/../Makefile.host"
 HOST_CPPFLAGS+=        -DM4=\"${TOOL_M4}\"
 
+.y.c .l.c .y.h:
+       @true
+
 scan.c:
        echo '#include <initscan.c>' >$@
 parse.c:



Home | Main Index | Thread Index | Old Index