1. Wee 0.45 bug in parser.e?

Hallo

the following reduced example crashes wee, while editing the includeline example.e (say change it to exampl.e)
name of the include needs to be the same as the namespace. (e.g. include work.e as work).

And it crashes also if the include does not even exist blink

-- file bug.exw 
include example.e as example 
 
example:blahblah() 
-- include file example.e 
public procedure blahblah() 
	puts(1,"blahblah") 
	getc(0) 
end procedure 

Result:

C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2471 in function public_ 
includes() 
subscript value -1 is out of bounds, reading from a sequence of length 60 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2501 in 
function check_name() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2580 in 
procedure check_proc() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2748 in 
procedure check_ast() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2863 in 
function parse_errors() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\wee.exw:2029 in p 
rocedure do_error_indicators() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\wee.exw:2895 in f 
unction sci_notify() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\ui_win.e:1222 in 
function WndProc() 
 
^^^ call-back from Windows 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\ui_win.e:1861 in 
procedure ui_main() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\ui_win.e:1868 
 
--> See ex.err 
 
C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2471 in function public_ 
includes() 
subscript value -1 is out of bounds, reading from a sequence of length 60 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2501 in 
function check_name() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2580 in 
procedure check_proc() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2748 in 
procedure check_ast() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\parser.e:2863 in 
function parse_errors() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\wee.exw:2029 in p 
rocedure do_error_indicators() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\wee.exw:2895 in f 
unction sci_notify() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\ui_win.e:1222 in 
function WndProc() 
 
^^^ called to handle run-time crash 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\ui_win.e:293 in f 
unction ui_message_box_error() 
 
... called from C:\develop\portable_eu\testpool\EuPortable\WEE\wee.exw:330 in fu 
nction crash_cleanup() 
 
^^^ called to handle run-time crash 
Runtime error (Traceback unavailable) 
 
Press Enter... 
 

ex.err is here: http://euphoria.indonesianet.de/ex.zip

Same result for 32bit and 64bit. OS is Win10 64bit.

Andreas

new topic     » topic index » view message » categorize

2. Re: Wee 0.45 bug in parser.e?

Thank you for reporting this. Fixed in version 0.46.

Also fixed is a problem with case statements inside an ifdef.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Wee 0.45 bug in parser.e?

PeteE said...

Thank you for reporting this. Fixed in version 0.46.

Also fixed is a problem with case statements inside an ifdef.

Thank you,

This was really fast! It works.

Andreas

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu