![]() |
"Unexpected end of file" because of missing brackets - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Bug Reports (https://www.boriel.com/forum/forumdisplay.php?fid=15) +---- Thread: "Unexpected end of file" because of missing brackets (/showthread.php?tid=247) |
"Unexpected end of file" because of missing brackets - programandala.net - 06-17-2010 I got the error "Unexpected end of file" and it took time to find out the stupid reason: I had forgotten to write the brackets in a sub call! That sub needs no parameters, so I naively hadn't written the bracktes in the call ![]() Well, maybe the message could be more explicit? It's not an important issue at all, just a suggestion. Anyway I won't forget the empty brackets again ![]() Code: pressAnyKey() Re: "Unexpected end of file" because of missing brackets - LCD - 06-17-2010 This is not the only issue with the error reporting, but Boriel plans to make better error reports later. I don't think, it has the highest priority yet. |