1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix vlib/compiler/aparser.v (#3764)

This commit is contained in:
yuyi 2020-02-18 15:45:04 +08:00 committed by GitHub
parent ed01ab763c
commit 392eb1fb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3208,6 +3208,7 @@ fn todo_remove() {
fn (p mut Parser) check_if_parser_is_stuck(parsing_cycle u64, parsing_start_ticks i64){ fn (p mut Parser) check_if_parser_is_stuck(parsing_cycle u64, parsing_start_ticks i64){
// QTODO // QTODO
p.warn('todo...')
/* /*
if p.prev_stuck_token_idx == p.token_idx { if p.prev_stuck_token_idx == p.token_idx {
// many many cycles have passed with no progress :-( ... // many many cycles have passed with no progress :-( ...