Skip to content

Commit

Permalink
revert tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanoDalMas committed Feb 26, 2025
1 parent 0c9bd0b commit a847983
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dartagnan/src/main/antlr4/InlineAsmLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ PrefetchStoreL1Once : 'pstl1strm';
// helpers for parser rules
NumbersInline : [0-9]+;
XLiteral : 'x';
RLiteral : 'r';
WLiteral : 'w';
ILiteral : 'i';
OLiteral : 'o';
MLiteral : 'm';
Expand All @@ -56,7 +58,7 @@ FenceArmOpt : 'sy' | 'st' | 'ish' | 'ishld' | 'ishst';
X86Fence : 'mfence';
RISCVFence : 'fence';
TsoFence : 'tso';
FenceRISCVOpt : ILiteral | OLiteral | ILiteral OLiteral | 'r' | 'rw' | 'w' | TsoFence;
FenceRISCVOpt : ILiteral | OLiteral | ILiteral OLiteral | RLiteral | RLiteral WLiteral | WLiteral | TsoFence;
PPCFence : 'sync' | 'isync' | 'lwsync';


Expand Down

0 comments on commit a847983

Please sign in to comment.