summaryrefslogtreecommitdiffstats
path: root/syslog.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-05-15 19:54:42 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-05-15 19:54:42 -0700
commit87e185aa2d2cfe18df7e89ddfd05b2dd262fe791 (patch)
tree9ffb9b9cb712c1f50c10323df867ae25120a6ce1 /syslog.c
parent0ec32efc4827c8091d5b20d6458cdbab79eab7b2 (diff)
downloadtxr-87e185aa2d2cfe18df7e89ddfd05b2dd262fe791.tar.gz
txr-87e185aa2d2cfe18df7e89ddfd05b2dd262fe791.tar.bz2
txr-87e185aa2d2cfe18df7e89ddfd05b2dd262fe791.zip
protsym: don't refer to symbols excluded by config.
The protsym.c generated file refers to symbol variables without regard for whether they actually exist. Some symbol variables are defined in source files whose object files are only linked in conditionally. * genprotsym.txr: Update the logic to scan the Makefile to determine which files are conditionally included, based on what makefile flag, which is related to a preprocessor symbol. Thus, with some hashes, for each symbolic variable we subsequently scan, we know whether it came from a file that is associated with a preprocessor symbol. We group the emitted material accordingly, placing the conditionally existent symbols into #if...#endif blocks.
Diffstat (limited to 'syslog.c')
0 files changed, 0 insertions, 0 deletions