Changeset 4526:84f2d5c0262e in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/20/11 17:22:00 (8 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Tags:
rel-3-23
Message:

Include the template name in the Javascript source code comments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/ul4c.py

    r4525 r4526  
    14701470                (line, col) = lastloc.pos() 
    14711471                tag = lastloc.tag 
    1472                 self._line(u"// <?{}?> tag at {} (line {}, col {}): {}".format(lastloc.type, lastloc.starttag+1, line, col, repr(tag)[1+isinstance(tag, unicode):-1])) 
     1472                self._line(u"// <?{}?> tag at position {} (line {}, col {}, template {}): {}".format(lastloc.type, lastloc.starttag+1, line, col, lastloc.name, repr(tag)[1+isinstance(tag, unicode):-1])) 
    14731473            try: 
    14741474                getattr(self, "_dispatch_{}".format(opcode.code))(opcode)