Build lexer and parser from libCom/Makefile. Since libCom now includes asLib.c and asLib_lex.c we must build antelope and flex without linking them to Com. This works because they only need epicsTempFile anyway. However make doesn't like a subdirectory with the same name as a target object, so the antelope source directory is now called yacc. The two main.c files were also renamed to avoid other build problems. Merge asHost into Com and remove mentions in CONFIG_BASE Lots of noise since SRCS must be renamed to Com_SRCS
10 lines
504 B
Plaintext
10 lines
504 B
Plaintext
Berkeley Yacc reflects its origins. The reason so many routines
|
|
use exactly six register variables is that Berkeley Yacc was
|
|
developed on a VAX using PCC. PCC placed at most six variables
|
|
in registers. I went to considerable effort to find which six
|
|
variables most belonged in registers. Changes in machines and
|
|
compilers make that effort worthless, perhaps even harmful.
|
|
|
|
The code contains many instances where address calculations are
|
|
performed in particular ways to optimize the code for the VAX.
|