Use L. for line number prefix in asm and AST

This commit is contained in:
rocky
2016-11-03 21:26:12 -04:00
parent 2eaea447eb
commit cd3cf5ec29
6 changed files with 15 additions and 12 deletions

View File

@@ -291,7 +291,7 @@ class Scanner2(scan.Scanner):
if show_asm in ('both', 'after'):
for t in tokens:
print(t)
print(t.format(line_prefix='L.'))
print()
return tokens, customize