mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
92594f3e41
This is why I wrote conf.h in the form of macros that expanded to named structure field assignments, instead of just filling it with named structure field assignments directly. This way, I can #include the same file again with different macro definitions, and build up a list of what fields were set in what config options. This new code checks that if a config option has a default, then the type of the default matches the declared type of the option value itself. That's what caught the two goofs in the previous commit. This is also the part of test_conf that I _won't_ want to delete once I've finished with the refactoring: it can stay there forever, doing type checking at test time that the compiler isn't doing for me at build time. |
||
---|---|---|
.. | ||
sclog | ||
agentmulti.py | ||
agenttest.py | ||
agenttestdata.py | ||
agenttestgen.py | ||
ca.py | ||
colours.txt | ||
cryptsuite.py | ||
desref.py | ||
display.txt | ||
eccref.py | ||
fuzzterm.c | ||
lattrs.txt | ||
list-accel.py | ||
mpu-check.pl | ||
numbertheory.py | ||
primegen.py | ||
scocols.txt | ||
ssh.py | ||
test_conf.c | ||
test_lineedit.c | ||
test_terminal.c | ||
testcrypt-enum.h | ||
testcrypt-func.h | ||
testcrypt.c | ||
testcrypt.py | ||
testsc.c | ||
testzlib.c | ||
utf8.txt | ||
vt100.txt | ||
windowchange.py |