summaryrefslogtreecommitdiffstats
path: root/man2html/strdefs.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-15 13:36:43 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-15 13:36:43 -0700
commitab9826be651451405d88e79bbdf5872046684ee5 (patch)
tree9d4a8334367c7680aecd611cc76d5d9e8c1b5b98 /man2html/strdefs.c
parent09680830758c7a0ab147ae96d8ca37291fe9d1bf (diff)
downloadman-ab9826be651451405d88e79bbdf5872046684ee5.tar.gz
man-ab9826be651451405d88e79bbdf5872046684ee5.tar.bz2
man-ab9826be651451405d88e79bbdf5872046684ee5.zip
Fix \n interpolation; implement while.
The \n interpolation was not working: not substituting the result. When this logic was added, then this was happening even during expression evaluation. The right fix seems to be that scan_expression function needs to suppress output! Implemented the .while operator. str_to_code needed to be fixed so it only bangs together up to four characters, so that we can recognize "while" as "whil". Hack hack! Introduced the V4 macro for four character codes.
Diffstat (limited to 'man2html/strdefs.c')
0 files changed, 0 insertions, 0 deletions