Skip to content

Commit 58ed0f2

Browse files
committed
refactor(sema): comment the need of final_position at hand-out
1 parent b8b9cac commit 58ed0f2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/sema.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,6 +2246,8 @@ class sema
22462246
return;
22472247
}
22482248

2249+
// By giving tokens an order during sema
2250+
// generated code can be equally checked
22492251
static std::int32_t final_position = 1;
22502252
t.final_position = final_position++;
22512253

0 commit comments

Comments
 (0)