Patch # 1: --- uasm.orig 2017-11-30 13:32:14.000000000 +0100 +++ uasm 2019-07-14 19:05:16.214517411 +0200 @@ -114,7 +114,7 @@ line_offset = 0 for d in model.lines: - line, _ = mm.parser.pos_to_linecol(d._tx_position) + line, _ = model._tx_parser.pos_to_linecol(d._tx_position) line -= line_offset + 1 if token_type(d) == 'LabelAnchor': current_label = d.label @@ -140,7 +140,7 @@ current_label = None elif token_type(d) == 'PreprocessorDirective': if d.Filename == f: - line, _ = mm.parser.pos_to_linecol(d._tx_position) + line, _ = model._tx_parser.pos_to_linecol(d._tx_position) line_offset = line - d.LineNumber else: raise ValueError('Unexpected token type {0}'.format(token_type(d))) Patch #2 --- development-guide.asciidoc.orig 2017-11-30 13:32:14.000000000 +0100 +++ development-guide.asciidoc 2019-07-14 19:07:31.253811900 +0200 @@ -1,7 +1,7 @@ = s80x86 Core Development Guide Jamie Iles -:source-highlighter: coderay +//:source-highlighter: coderay = Developer's Guide