mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2026-01-07 03:30:06 +01:00
labels may now start with numbers
This commit is contained in:
@@ -26,7 +26,7 @@ class ParserX86ATT(BaseParser):
|
||||
# Define x86 assembly identifier
|
||||
relocation = pp.Combine(pp.Literal('@') + pp.Word(pp.alphas))
|
||||
id_offset = pp.Word(pp.nums) + pp.Suppress(pp.Literal('+'))
|
||||
first = pp.Word(pp.alphas + '_.', exact=1)
|
||||
first = pp.Word(pp.alphanums + '_.', exact=1)
|
||||
rest = pp.Word(pp.alphanums + '$_.+-')
|
||||
identifier = pp.Group(
|
||||
pp.Optional(id_offset).setResultsName('offset')
|
||||
|
||||
Reference in New Issue
Block a user