aboutsummaryrefslogtreecommitdiff
path: root/unprotbas.c
diff options
context:
space:
mode:
Diffstat (limited to 'unprotbas.c')
-rw-r--r--unprotbas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unprotbas.c b/unprotbas.c
index ae01b50..f7007fc 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -52,7 +52,7 @@ int writemap = 0;
2 09 line length (or, offset to next line) [!]
3 06 offset to next statement *from the start of the line*
4 28 token for "?"
- 5 14 token for : (end of statement), we call it TOK_COLON
+ 5 14 token for : (end of statement), we call it OP_COLON
6 09 offset to next statement [!]
7 15 token for END
8 16 token for end-of-line [*]
@@ -71,7 +71,7 @@ int fixline(int linepos) {
/* +3 here to skip the line number + line length */
int offset = program[linepos + 3];
- while(program[linepos + offset - 1] == TOK_COLON)
+ while(program[linepos + offset - 1] == OP_COLON)
offset = program[linepos + offset];
program[linepos + 2] = offset;