Re: IDE and eu4
- Posted by mattlewis (admin) Jul 12, 2009
- 1293 views
Hi
No, that's just the 80 line limit of a dos console - a straight copy from the dos console does that.
I thought 'where' was an eu4.0 reserved word - hence the error - or am I wrong?
No, it's a library function. The key to this bug is that you have what is effectively the use of a forward type (int). It's declared somewhere as a global type, but that file isn't included by IDE_XPMmer.ew, which means that the interpreter cannot resolve it until the end of parsing.
The other key ingredient is that the parameter name is the same as some other routine. Here is a minimal example to display the bug:
procedure bar() end procedure procedure foo( int bar, int what ) end procedure type int( object i ) return integer( i ) end type
This has been entered as bug 2820451:
https://sourceforge.net/tracker/?func=detail&aid=2820451&group_id=182827&atid=902782
I seem to recall that Derek said he was going to be working with the IDE. Derek, have you done much with it? I looked at the sourceforge project page, and it doesn't show a svn repository, and the cvs repository is empty.
Matt