Skip to content

Commit c066b3f

Browse files
authored
Update variables.c
1 parent b07d5fd commit c066b3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

chapter_4/exercise_4_06/variables.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ int main(void)
121121
break;
122122

123123
case VARGET:
124-
if (var - 'a' <= (varindex - 1)) // Check if the variable has been assigned previously
124+
// Check if the variable has been assigned previously
125+
if (var - 'a' <= (varindex - 1))
125126
{
126127
push(var_buff[var - 'a']);
127128
}

0 commit comments

Comments
 (0)