mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
FIX: our DOT binary operator change broke symbol validation logic for macros.
This commit is contained in:
parent
83a641e740
commit
8dc5b43a93
@ -424,7 +424,9 @@ impl MacroDef {
|
||||
match stack.pop().unwrap() {
|
||||
&Expression::Binary(ref bexpr) => {
|
||||
stack.push(&bexpr.left);
|
||||
stack.push(&bexpr.right);
|
||||
if bexpr.kind != BinaryExprType::DOT {
|
||||
stack.push(&bexpr.right);
|
||||
}
|
||||
}
|
||||
&Expression::Grouped(ref expr) => {
|
||||
stack.push(expr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user