diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-04-27 19:44:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-04-27 19:44:46 (GMT) |
commit | 08b4b96ea20ded173b851aeb452c5d3c98e08cc4 (patch) | |
tree | 73dfea63810e8b2a57aee5b37ecd2f360c69f440 /doc/translator.py | |
parent | f08c77a2ead21877f1cbd49a5b325ab7be0fc599 (diff) | |
download | Doxygen-08b4b96ea20ded173b851aeb452c5d3c98e08cc4.zip Doxygen-08b4b96ea20ded173b851aeb452c5d3c98e08cc4.tar.gz Doxygen-08b4b96ea20ded173b851aeb452c5d3c98e08cc4.tar.bz2 |
Release-1.3.6-20040427
Diffstat (limited to 'doc/translator.py')
-rw-r--r-- | doc/translator.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/translator.py b/doc/translator.py index 4ec7d2f..8a8b99f 100644 --- a/doc/translator.py +++ b/doc/translator.py @@ -38,8 +38,8 @@ but is much less tricky and much more flexible. It also solves some problems that were not solved by the Perl version. The translator report content should be more useful for developers. - 2004/02/11 - - Some tuning-up to provide more useful information. + 2004/02/11 - Some tuning-up to provide more useful information. + 2004/04/16 - Added new tokens to the tokenizer (to remove some warnings). """ import os, re, sys, textwrap @@ -127,6 +127,8 @@ class Transl: '"': 'dquot', '.': 'dot', '%': 'perc', + '~': 'tilde', + '^': 'caret', } # Regular expression for recognizing identifiers. @@ -180,7 +182,7 @@ class Transl: else: msg = '\aWarning: unknown token "' + tokenStr + '"' msg += '\tfound on line %d' % tokenLineNo - msg += 'in "' + self.fname + '".\n' + msg += ' in "' + self.fname + '".\n' sys.stderr.write(msg) yield (tokenId, tokenStr, tokenLineNo) |