mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-01 09:10:37 +00:00
Fixes sloppy parsing of array sub arguments
The following now produces a syntax error for the missing closing parenthesis of the parameter list. E.g. sub foo(bar(): end sub
This commit is contained in:
parent
d39dab006f
commit
f6f7de6d87
|
@ -4862,6 +4862,7 @@ DO
|
|||
IF t2$ = "" THEN t2$ = e$ ELSE t2$ = t2$ + " " + e$
|
||||
gotaa2:
|
||||
NEXT i2
|
||||
IF m = 1 THEN a$ = "Syntax error": GOTO errmes
|
||||
IF symbol2$ <> "" AND t2$ <> "" THEN a$ = "Syntax error": GOTO errmes
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue