Fixed some bugs which caused some context to be not recognized, and some
authoracli <acli>
Mon, 8 Mar 2004 04:59:38 +0000 (04:59 +0000)
committeracli <acli>
Mon, 8 Mar 2004 04:59:38 +0000 (04:59 +0000)
commitdb1660f512c52a9c848489f4e2e56516e99e1567
tree6fd3e4ec1d5e28637ac14dee8bd91e656182b9f5
parent5563ae449439c39f891d457dd8f41f4147bebae6
Fixed some bugs which caused some context to be not recognized, and some
spurious context to be recognized.  In particular, the bugs fixed are:

1. Failure to recognize INPUT element at the end, e.g., if the input has
   the form "Item number:%S", then the pattern was recognized as only
   "Item number".

2. Failure to remove matching <foo></foo> tags if the pattern contains
   INPUT or TMPL_VAR; e.g., if the input has the form "<h1>%s %s</h1>",
   the form would not be simplified to "%s %s".

Unfortunately, fixing these 2 bugs will cause about 40 fuzzies to appear.
misc/translator/TmplTokenizer.pm
misc/translator/tmpl_process3.pl