dthelp/parser/pass1: get it to build

So this is going to be tricky/painful getting this parser fully
operational.  It's pretty hairy with various interdependencies and
generated code.

It's rather complicated how each sub dir depends on the previous one.
Also, the parser subdir has dependencies on the helptag subdir, and
vice-versa, so some hackery was needed to get that to work.

Due to the wierd interdepencencies between helptag and parser,
we disable parallel builds there.

This is some really horrible code and design - not surprising since it
dates to 1989.

I think it should just be removed -- who can maintain or refactor this
code?

Also, dthelp_htag1 is now built in pass1/parser/, not in
pass1/helptag/ as it used to be.
This commit is contained in:
Jon Trulson
2020-04-15 11:34:01 -06:00
parent 349802ddd3
commit 6da55905ec
10 changed files with 135 additions and 118 deletions

6
cde/.gitignore vendored
View File

@@ -10,8 +10,9 @@
*~
.depend
# flags for saying directory is complete
# flags for saying directory/target is complete
DONE
?DONE
# imports of of headers
imports/x11
@@ -590,13 +591,12 @@ programs/dthelp/parser/pass1/eltdef/stfile.c
programs/dthelp/parser/pass1/eltdef/tfile.c
programs/dthelp/parser/pass1/helptag/LocaleXlate.c
programs/dthelp/parser/pass1/helptag/XlationSvc.c
programs/dthelp/parser/pass1/helptag/dthelp_htag1
programs/dthelp/parser/pass1/parser/case.c
programs/dthelp/parser/pass1/parser/context.h
programs/dthelp/parser/pass1/parser/delim.dat
programs/dthelp/parser/pass1/parser/delim.h
programs/dthelp/parser/pass1/parser/error
programs/dthelp/parser/pass1/parser/parser
programs/dthelp/parser/pass1/parser/dthelp_htag1
programs/dthelp/parser/pass1/util/context
programs/dthelp/parser/pass1/util/fclndir
programs/dthelp/parser/pass2/build/arc.h