Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/flex Add instruction how to generate the init f...



details:   https://anonhg.NetBSD.org/src/rev/7f70f0066e93
branches:  trunk
changeset: 820335:7f70f0066e93
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 07 15:45:14 2017 +0000

description:
Add instruction how to generate the init files so that we don't forget.

diffstat:

 external/bsd/flex/flex2netbsd |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a9a0a4b6ad51 -r 7f70f0066e93 external/bsd/flex/flex2netbsd
--- a/external/bsd/flex/flex2netbsd     Sat Jan 07 15:43:27 2017 +0000
+++ b/external/bsd/flex/flex2netbsd     Sat Jan 07 15:45:14 2017 +0000
@@ -1,6 +1,6 @@
 #! /bin/sh
 #
-#      $NetBSD: flex2netbsd,v 1.4 2016/01/09 17:38:56 christos Exp $
+#      $NetBSD: flex2netbsd,v 1.5 2017/01/07 15:45:14 christos Exp $
 #
 # Copyright (c) 2000 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -42,6 +42,11 @@
 #      check the config file and copy it to /usr/src/external/bsd/flex/include
 #      check the manual page against our copy if there are new options and
 #      update
+#      build the initparse.c and initscan.c without line numbers in src/dist
+#      and commit them:
+#       - nbyacc -l -d -o initparse.c parse.y
+#      - nblex -L -t -p scan.l > initscan.c
+
 
 if [ $# -ne 1 ]; then echo "flex2netbsd src"; exit 1; fi
 



Home | Main Index | Thread Index | Old Index