Commits

Brian Mearns  committed fc4c621

Fixed a stupid bug in the lexer: was using # as comment instead of % for terminating text.

  • Participants
  • Parent commits bf654a6

Comments (0)

Files changed (1)

File templ/templ.py

             c = istream.read(1)
             if len(c) == 0:
                 break
-            elif c.isspace() or c in ('{', '}', '\\', '"', '#', '>'):
+            elif c.isspace() or c in ('{', '}', '\\', '"', '%', '>'):
                 #Unget.
                 istream.unget(c)
                 break