X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=assembler%2Fscanner.l;h=b135552a31a389259fc25c3c6b669c93f613c4f1;hb=dbf48987ce62b43059612814ab8530a27707d245;hp=6fb3599c0ac16586568ed71cceee80990d8d79ec;hpb=3bd4f014e1ae2af49b2cbdd94a86c07559aacbce;p=b43-tools.git diff --git a/assembler/scanner.l b/assembler/scanner.l index 6fb3599..b135552 100644 --- a/assembler/scanner.l +++ b/assembler/scanner.l @@ -51,7 +51,7 @@ NEWLINE ((\r)|(\n)|(\r\n)) ^{WS}*"%"{WS}*arch { update_lineinfo(); return ASM_ARCH; } ^{WS}*"%"{WS}*start { update_lineinfo(); return ASM_START; } -^{WS}*"%"{WS}*assert { update_lineinfo(); return ASM_ASSERT; } +"%"{WS}*assert { update_lineinfo(); return ASM_ASSERT; } ^{WS}*\.text{WS}*$ { update_lineinfo(); return SECTION_TEXT; } ^{WS}*\.initvals/\({IDENTIFIER}\) { update_lineinfo(); return SECTION_IVALS; } @@ -142,6 +142,7 @@ phy { update_lineinfo(); return IVAL_PHY; } radio { update_lineinfo(); return IVAL_RADIO; } shm16 { update_lineinfo(); return IVAL_SHM16; } shm32 { update_lineinfo(); return IVAL_SHM32; } +tram { update_lineinfo(); return IVAL_TRAM; } @[0-9a-fA-F]{3,3} { update_lineinfo(); return RAW_CODE; }