woollybah / eclipsemax

Automatically exported from code.google.com/p/eclipsemax
1 stars 0 forks source link

a return statement with no return value is listed as an error #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The parser currently requires that RETURN statements be followed by an
expression. However RETURN then NEWLINE should be allowed for methods with
no return type.

to reproduce:

Create this .bmx file
'start of file
Type sometype
    Method somemethod()
        return
    EndMethod
EndType
'end of file

There should be no errors in the Problems view.
Instead, eclipsemax lists the line 'return' as an error.

Original issue reported on code.google.com by mgatl...@gmail.com on 3 Oct 2009 at 1:25

GoogleCodeExporter commented 9 years ago
Sorry, I got a bit ahead of myself and raised this issue before I saw that 
you're
still developing the parser. I should let you finish it before I start 
reporting bugs :)

Original comment by mgatl...@gmail.com on 3 Oct 2009 at 1:54