format: Create a new "struct fmt_affix" for prefix and suffix strings.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 16 Feb 2011 06:00:33 +0000 (22:00 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 20 Feb 2011 00:57:02 +0000 (16:57 -0800)
commitc41cd1fefc98bb4abed33754276d93db9ffe2e0e
tree39d1d592429c4fb8df52fc3d01560f24ff41fe6d
parent6bf6119d76b761cbbca0ca9e5b680f419eaf937b
format: Create a new "struct fmt_affix" for prefix and suffix strings.

This combines two changes: changing the string type for numeric
prefix and suffix strings from "struct substring" to plain "char *",
and putting the string inside a new structure.  Both of these will
make more sense after the following commit, which adds another member
to the new structure and stops using the length of the string in so
many places (which is the reason that "struct substring" was a good
choice).
src/data/data-in.c
src/data/data-out.c
src/data/format.c
src/data/format.h
src/language/utilities/set.q