Re: Eu4 - Bug in ex.err file generation

new topic     » goto parent     » topic index » view thread      » older message » newer message
sergelli said...

OK. There are errors in both files aaa and bbb. Possibly, EU4 tries to point out errors in a different order than the Eu3 and that would be irrelevant if in fact Eu4 were pointing a mistake.

This is correct, and this is what I believe is happening.

sergelli said...

But EU4 is not pointing to anything. The arquvo "bbb" has 999 lines. The file ex.err points to the line number 1000 and does not reveal What was the mistake

But with the original files, the problem remains: The error is not revealed when using EU4

arquvo = archive? As in from the RDS Archives? If so, which one is it?

The line number for that error can be a bit confusing... Euphoria doesn't really know at which line you meant to add the "end" statement. In this case it picks the last possible place for you to add the statement (not necessarily the correct place, mind you, as that depends on the logic of your code, merely the last place you can add the statement and have the syntax error fixed). The last possible place is to add a new line to the end of bbb.ew (making it 1000 lines) and place the statement in that new line.

sergelli said...

Doing experiments, I reduced the size of two files for a couple of lines (with errors) and the file generated ex.err are exactly the same for Eu3 and EU4, pointing to the exact errors.

I'd have expected the line numbers to change, in that case.... but the error messages otherwise should have been identical.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu