From efb9ba166d3693866265c8cd7c202ffdce5f5d57 Mon Sep 17 00:00:00 2001 From: JanLJL Date: Fri, 27 Sep 2019 17:47:07 +0200 Subject: [PATCH] enhanced directive parser for ARM --- osaca/parser/parser_AArch64v81.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osaca/parser/parser_AArch64v81.py b/osaca/parser/parser_AArch64v81.py index 6db3b4b..1bcc385 100755 --- a/osaca/parser/parser_AArch64v81.py +++ b/osaca/parser/parser_AArch64v81.py @@ -35,7 +35,7 @@ class ParserAArch64v81(BaseParser): hex_number = pp.Combine(pp.Literal('0x') + pp.Word(pp.hexnums)).setResultsName('value') directive_option = pp.Combine( pp.Word(pp.alphas + '#@.%', exact=1) - + pp.Optional(pp.Word(pp.printables, excludeChars=',')) + + pp.Optional(pp.Word(pp.printables + ' ', excludeChars=',')) ) directive_parameter = ( pp.quotedString | directive_option | identifier | hex_number | decimal_number