Overview
| Comment: | Check for unterminated flow control structures |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
288e31e44b7dba80bd08870b15c284ab |
| User & Date: | user on 2021-04-17 05:53:48.691 |
| Other Links: | manifest | tags |
Context
|
2021-04-18
| ||
| 03:04 | Implement more of pattern matching. (It is only partially tested so far. Also, only (P) and (,P) are implemented, and so far not (=P) and (P*) and (,P*) and (=P*).) check-in: de3822f0fe user: user tags: trunk | |
|
2021-04-17
| ||
| 05:53 | Check for unterminated flow control structures check-in: 288e31e44b user: user tags: trunk | |
| 05:52 | Start to implement parsing for pattern matching. Execution of pattern matching is not yet implemented. check-in: 646aebd36a user: user tags: trunk | |
Changes
Modified class.c
from [79db9f5b70]
to [5e7918c55b].
| ︙ | |||
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 | 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 | + |
}
tokenv=x;
goto numeric;
default:
ParseError("Invalid parenthesized instruction\n");
}
} else if(tokent==TF_CLOSE) {
if(flowdepth) ParseError("Unterminated flow control structure\n");
if(peep<ptr && cl->codes[ptr-1]==OP_RET) break;
if(peep<ptr && (cl->codes[ptr-1]&0xFF00)==0x1E00) break;
if(Inst8bit()) ChangeInst(+=0x1E00);
else AddInst(OP_RET);
break;
} else if(Tokenf(TF_EOF)) {
ParseError("Unexpected end of file\n");
|
| ︙ |