Commits

Georg Brandl  committed 4e0dd1a

Add a last-resort closing-brace token for Tcl. It is miscounting braces in valid code, and I am too busy to debug that right now.

  • Participants
  • Parent commits 7f4fa60

Comments (0)

Files changed (1)

File pygments/lexers/agile.py

             include('command'),
             include('basic'),
             include('data'),
+            (r'}', Keyword),  # HACK: somehow we miscounted our braces
         ],
         'command': _gen_command_rules(keyword_cmds_re, builtin_cmds_re),
         'command-in-brace': _gen_command_rules(keyword_cmds_re,