Encountered " "void" "void "" at line 232, column 3.
Was expecting one of:
"@" ...
"boolean" ...
"byte" ...
"char" ...
....
void seems not to occur in the error list. So either I'm blind right now and
the method definition is wrong for some reason or something else is wrong ;)
Any comments are welcome - Thanks!
Steffen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good that the issue has resolved itself :-) I was going to say that you need
to set Recoder to Java 1.3-compatibility mode, otherwise, "assert" is
recognized as a keyword and thus is not a valid identifier. But you have
obviously done that yourself already.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all,
is it possible that recoder (v0.94c) currently doesn't support (method)
declarations like:
231 public
232 void assert(boolean assertion, String msg) {
233 if(!assertion)
234 this.error(msg);
235 }
always get an error like:
Encountered " "void" "void "" at line 232, column 3.
Was expecting one of:
"@" ...
"boolean" ...
"byte" ...
"char" ...
....
void seems not to occur in the error list. So either I'm blind right now and
the method definition is wrong for some reason or something else is wrong ;)
Any comments are welcome - Thanks!
Steffen
okay short update: seems that recoder works fine - guess it's just a missing
blank after/before the public/void.
Good that the issue has resolved itself :-) I was going to say that you need
to set Recoder to Java 1.3-compatibility mode, otherwise, "assert" is
recognized as a keyword and thus is not a valid identifier. But you have
obviously done that yourself already.