Author: scabanovich
Date: 2008-09-29 11:27:36 -0400 (Mon, 29 Sep 2008)
New Revision: 10538
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java
Log:
JBIDE-1497.
Minor improvements
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java 2008-09-29
15:00:55 UTC (rev 10537)
+++
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java 2008-09-29
15:27:36 UTC (rev 10538)
@@ -180,7 +180,7 @@
setNextToken();
if(current != null) switch (current.getType()) {
case ArgStartTokenDescription.ARG_START:
- while(current.getType() == ArgStartTokenDescription.ARG_START) {
+ while(current != null && current.getType() ==
ArgStartTokenDescription.ARG_START) {
ELArgumentImpl arg = readArgument();
ELArgumentExpressionImpl call = new ELArgumentExpressionImpl();
call.setArgument(arg);
Show replies by date