WD* globals abolished. They're now members of the command block.

This commit is contained in:
Eric S. Raymond 2017-06-20 20:06:32 -04:00
parent 9714c9fc2a
commit 9437ccca36
4 changed files with 124 additions and 126 deletions

4
TODO
View file

@ -3,10 +3,6 @@
The FORTRANish mess that once was is now mostly idiomatic C. Some issues
remain to be cleaned up:
* The remaining shared globals: WD1, WD1X, WD2, WD2X. These are used
rather promiscuously to pass around information that ought to be function
arguments in a modern language.
* Remaining unstructured gotos in do_command().
* The program is still pretty much typeless - full of magic numbers being