summaryrefslogtreecommitdiffstats
path: root/src/libdoxygen.t
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-02-15 20:00:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-02-15 20:00:58 (GMT)
commitb0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d (patch)
treed5ea8d453754a1b971fadd965b8949a3a3d0de9a /src/libdoxygen.t
parent8fda55cdfe71d9e23407169499e918478161328d (diff)
downloadDoxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.zip
Doxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.tar.gz
Doxygen-b0cbd5971eb11555a9ea3ab5c23f2b0b97279b4d.tar.bz2
Release-1.3-rc3-20020215
Diffstat (limited to 'src/libdoxygen.t')
-rw-r--r--src/libdoxygen.t16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/libdoxygen.t b/src/libdoxygen.t
index ae86907..d11df87 100644
--- a/src/libdoxygen.t
+++ b/src/libdoxygen.t
@@ -16,8 +16,10 @@
#!
#$ IncludeTemplate("lib.t");
-LEX = flex
-YACC = bison
+LEX = flex
+YACC = bison
+PERL = perl
+INCBUFSIZE = $(PERL) -n -e "s/YY_BUF_SIZE 16384/YY_BUF_SIZE 262144/g; print $$_;"
#${
sub GenerateDep {
@@ -45,13 +47,13 @@ sub GenerateDep {
####################
#$ GenerateDep("scanner.cpp","scanner.l");
- $(LEX) -PscanYY -t scanner.l >scanner.cpp
+ $(LEX) -PscanYY -t scanner.l | $(INCBUFSIZE) >scanner.cpp
#$ GenerateDep("code.cpp","code.l");
- $(LEX) -PcodeYY -t code.l >code.cpp
+ $(LEX) -PcodeYY -t code.l | $(INCBUFSIZE) >code.cpp
#$ GenerateDep("pre.cpp","pre.l");
- $(LEX) -PpreYY -t pre.l >pre.cpp
+ $(LEX) -PpreYY -t pre.l | $(INCBUFSIZE) >pre.cpp
#$ GenerateDep("declinfo.cpp","declinfo.l");
$(LEX) -PdeclinfoYY -t declinfo.l >declinfo.cpp
@@ -75,6 +77,6 @@ sub GenerateDep {
$(YACC) -l -d -p cppExpYY constexp.y -o ce_parse.c
-rm ce_parse.c
-treeview.h: treeview.js
- cat treeview.js | sed -e "s/\\\\/\\\\\\\\/g" -e "s/\"/\\\\\"/g" -e "s/^/\"/g" -e "s/$$/\\\\n\"/g" >treeview.h
+#treeview.h: treeview.js
+# cat treeview.js | sed -e "s/\\\\/\\\\\\\\/g" -e "s/\"/\\\\\"/g" -e "s/^/\"/g" -e "s/$$/\\\\n\"/g" >treeview.h