Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net Do a lame hack to reduce the size of the lexer ...



details:   https://anonhg.NetBSD.org/src/rev/944cb337db52
branches:  trunk
changeset: 472120:944cb337db52
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Apr 22 00:37:42 1999 +0000

description:
Do a lame hack to reduce the size of the lexer state buffer, which reduces
memory consumption substantially.  The buffer is only used to print line
numbers...

diffstat:

 lib/libc/net/Makefile.inc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 2b594c7a1cc7 -r 944cb337db52 lib/libc/net/Makefile.inc
--- a/lib/libc/net/Makefile.inc Thu Apr 22 00:33:30 1999 +0000
+++ b/lib/libc/net/Makefile.inc Thu Apr 22 00:37:42 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.41 1999/02/24 15:05:21 drochner Exp $
+#      $NetBSD: Makefile.inc,v 1.42 1999/04/22 00:37:42 mycroft Exp $
 #      @(#)Makefile.inc        8.2 (Berkeley) 9/5/93
 
 # net sources
@@ -22,8 +22,8 @@
 
 CLEANFILES+=nsparser.c nslexer.c nsparser.h
 
-nslexer.c: nsparser.h
-
+nslexer.c: nslexer.l nsparser.h
+       ${LEX.l} -o/dev/stdout ${.IMPSRC} | sed -e '/YY_BUF_SIZE/s/16384/1024/' >${.TARGET}
 
 # machine-dependent net sources
 # m-d Makefile.inc must include sources for:



Home | Main Index | Thread Index | Old Index