Commit 39525198 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix comment parsing in USE clause

parent a059468b
......@@ -2313,9 +2313,9 @@ def text_area_content(root, ta_ast, context):
elif each.type == lexer.COMMENT:
# Comment: better way to specify ASN.1 filename
use_cmt, _, _ = end(each)
ta_ast.asn1_files.append(use_cmt.inputString)
else:
ta_ast.use_clauses.append(each.text)
ta_ast.asn1_files.append(use_cmt)
else:
print 'HIM'
warnings.append(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment