Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite error loop fix #552

Merged
merged 2 commits into from
Oct 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions source/ide/ide_methods.bas
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,7 @@ FUNCTION ide2 (ignore)
END IF
END IF

errininc = INSTR(a$, "included")
printWrapStatus x, y, x, a$

IF l <> 0 AND idecy <> l THEN
Expand Down Expand Up @@ -1732,6 +1733,7 @@ FUNCTION ide2 (ignore)
'for non-include changes we only need to rebuild the EXE
IF edCHG THEN idecompiled = 0: GOTO mustGenerateExe
ELSE
IF failed = 1 AND errininc = 0 THEN GOTO specialchar
edReCompile:
ideautorun = 0: startPausedPending = 1
idechangemade = 1: statusarealink = 0
Expand Down Expand Up @@ -21030,6 +21032,9 @@ SUB ExportCodeAs (docFormat$)
la$ = LTRIM$(StrReplace$(MID$(sTxt$, sPos&, 100), CHR$(9), " "))
SELECT EVERYCASE page$
CASE "$END": IF UCASE$(LEFT$(la$, 2)) = "IF" THEN me$ = me$ + " " + LEFT$(la$, 2): page$ = "$END IF": in% = -1
CASE "_CONSOLECURSOR"
IF UCASE$(LEFT$(la$, 5)) = "_HIDE" THEN kw$ = kw$ + " " + LEFT$(la$, 5): in% = -1
IF UCASE$(LEFT$(la$, 5)) = "_SHOW" THEN kw$ = kw$ + " " + LEFT$(la$, 5): in% = -1
CASE "CALL": IF UCASE$(LEFT$(la$, 8)) = "ABSOLUTE" THEN kw$ = kw$ + " " + LEFT$(la$, 8): page$ = "CALL ABSOLUTE": in% = -1
CASE "CASE"
IF UCASE$(LEFT$(la$, 2)) = "IS" THEN kw$ = kw$ + " " + LEFT$(la$, 2): page$ = "CASE IS": fu% = -1: bo% = -1: in% = -1
Expand Down
Loading