diff --git a/lib/parsers/asm-parser.ts b/lib/parsers/asm-parser.ts index 192e4d51934..73e12e10110 100644 --- a/lib/parsers/asm-parser.ts +++ b/lib/parsers/asm-parser.ts @@ -85,7 +85,7 @@ export class AsmParser extends AsmRegex implements IAsmParser { // MIPS labels can start with a $ sign, but other assemblers use $ to mean literal. this.labelFindMips = /[$.A-Z_a-z][\w$.]*/g; this.mipsLabelDefinition = /^\$[\w$.]+:/; - this.dataDefn = /^\s*\.(string|asciz|ascii|[1248]?byte|short|half|[dx]?word|long|quad|value|zero)/; + this.dataDefn = /^\s*\.(string|asciz|ascii|[1248]?byte|short|half|[dhx]?word|long|quad|octa|value|zero)/; this.fileFind = /^\s*\.(?:cv_)?file\s+(\d+)\s+"([^"]+)"(\s+"([^"]+)")?.*/; // Opcode expression here matches LLVM-style opcodes of the form `%blah = opcode` this.hasOpcodeRe = /^\s*(%[$.A-Z_a-z][\w$.]*\s*=\s*)?[A-Za-z]/;