]> granicus.if.org Git - recode/commitdiff
Cosmetic
authorFrançois Pinard <pinard@iro.umontreal.ca>
Thu, 13 Mar 2008 17:13:56 +0000 (13:13 -0400)
committerFrançois Pinard <pinard@iro.umontreal.ca>
Thu, 13 Mar 2008 17:13:56 +0000 (13:13 -0400)
tables.py

index ffb273fe56fbd3f9bde7a22a6019a8d67e3122d5..10e39d0f2cd63929996b8a6c9715681515ea40cf 100755 (executable)
--- a/tables.py
+++ b/tables.py
@@ -794,6 +794,7 @@ class Strips(Options):
                 code = 0
                 aliases = []
                 remark = []
+                #FIXME:match = re.match('(CP|IBM|windows-)([0-9]+)$', charset)
                 match = re.match('(CP|IBM)([0-9]+)$', charset)
                 if match:
                     self.implied_surface[match.group(2)] = 'crlf'
@@ -802,14 +803,6 @@ class Strips(Options):
                     self.declare_alias.append((charset, charset))
                     self.alias_count += 1
                     continue
-                #FIXME:match = re.match('windows-([0-9]+)$', charset)
-                #FIXME:if match:
-                #FIXME:      self.implied_surface[match.group(1)] = 'crlf'
-                #FIXME:      self.implied_surface['CP' + match.group(1)] = 'crlf'
-                #FIXME:      self.implied_surface['IBM' + match.group(1)] = 'crlf'
-                #FIXME:      self.declare_alias.append((charset, charset))
-                #FIXME:      self.alias_count = self.alias_count + 1
-                #FIXME:      continue
                 if charset in ('macintosh', 'macintosh_ce'):
                     self.implied_surface[charset] = 'cr'
                     self.declare_alias.append((charset, charset))
@@ -1141,7 +1134,7 @@ class Strips(Options):
             aliases = self.aliases_map[charset]
             if aliases:
                 if len(aliases) == 1:
-                    if aliases[0]:      # FIXME: pourquoi parfois vide ??
+                    if aliases[0]:      # FIXME: why empty sometimes?
                         write('@tindex %s\n'
                               '@code{%s} is an alias for this charset.\n'
                               % (re.sub(':([0-9]+)', r'(\1)', aliases[0]),