File tree 2 files changed +4
-2
lines changed
dartagnan/src/main/antlr4
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ C11AtomicStore : 'atomic_store';
7
7
C11AtomicXchgExplicit : ' atomic_exchange_explicit' ;
8
8
C11AtomicXchg : ' atomic_exchange' ;
9
9
C11AtomicSCASExplicit : ' atomic_compare_exchange_strong_explicit' ;
10
- C11AtomicSCAS : ' atomic_compare_exchange_strong' ;
10
+ C11AtomicSCAS : ' atomic_compare_exchange_strong' | ' SCAS ' ;
11
11
C11AtomicWCASExplicit : ' atomic_compare_exchange_weak_explicit' ;
12
- C11AtomicWCAS : ' atomic_compare_exchange_weak' ;
12
+ C11AtomicWCAS : ' atomic_compare_exchange_weak' | ' WCAS ' ;
13
13
C11AtomicFence : ' atomic_thread_fence' ;
14
14
C11AtomicAddExplicit : ' atomic_fetch_add_explicit' ;
15
15
C11AtomicAdd : ' atomic_fetch_add' ;
Original file line number Diff line number Diff line change @@ -248,6 +248,8 @@ opCompare returns [IntCmpOp op]
248
248
opArith returns [IntBinaryOp op]
249
249
: Plus {$op = IntBinaryOp.ADD;}
250
250
| Minus {$op = IntBinaryOp.SUB;}
251
+ | Ast {$op = IntBinaryOp.MUL;}
252
+ | Slash {$op = IntBinaryOp.DIV;}
251
253
| Amp {$op = IntBinaryOp.AND;}
252
254
| Bar {$op = IntBinaryOp.OR;}
253
255
| Circ {$op = IntBinaryOp.XOR;}
You can’t perform that action at this time.
0 commit comments