mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
Set precedence for TOKgep as well, now that we have the assert back in expToCBuffer.
This commit is contained in:
@@ -5625,6 +5625,11 @@ void initPrecedence()
|
||||
|
||||
precedence[TOKcomma] = PREC_expr;
|
||||
precedence[TOKdeclaration] = PREC_expr;
|
||||
|
||||
#if IN_LLVM
|
||||
// Need to set precedence for TOKgep as well, as expToCBuffer expects it.
|
||||
precedence[TOKgep] = PREC_primary;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user