summaryrefslogtreecommitdiff
path: root/src/ir.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir.h b/src/ir.h
index 563fc1bb..521a250f 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -215,6 +215,7 @@ struct Block {
std::string label;
BlockSignature sig;
ExprList exprs;
+ Location end_loc;
};
class Expr : public intrusive_list_base<Expr> {
@@ -332,6 +333,7 @@ class IfExpr : public ExprMixin<ExprType::If> {
Block true_;
ExprList false_;
+ Location false_end_loc;
};
class IfExceptExpr : public ExprMixin<ExprType::IfExcept> {
@@ -341,6 +343,7 @@ class IfExceptExpr : public ExprMixin<ExprType::IfExcept> {
Block true_;
ExprList false_;
+ Location false_end_loc;
Var except_var;
};