git://git.phpeclipse.com
/
phpeclipse.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
a little bug fixed in the switch labels
[phpeclipse.git]
/
net.sourceforge.phpeclipse
/
src
/
test
/
PHPParser.jj
diff --git
a/net.sourceforge.phpeclipse/src/test/PHPParser.jj
b/net.sourceforge.phpeclipse/src/test/PHPParser.jj
index
10ba3a9
..
35e1229
100644
(file)
--- a/
net.sourceforge.phpeclipse/src/test/PHPParser.jj
+++ b/
net.sourceforge.phpeclipse/src/test/PHPParser.jj
@@
-2846,7
+2846,6
@@
Expression SwitchLabel() :
}
try {
token = <COLON>
- {return expr;}
} catch (ParseException e) {
errorMessage = "':' expected after case expression";
errorLevel = ERROR;
@@
-2854,6
+2853,7
@@
Expression SwitchLabel() :
errorEnd = expr.sourceEnd+1;
processParseExceptionDebug(e);
}
+ {return expr;}
|
token = <_DEFAULT>
try {