From: axelcl Date: Mon, 2 Jan 2006 05:14:07 +0000 (+0000) Subject: feature request #1254275: Array type hinting gives parser error X-Git-Url: http://git.phpeclipse.com feature request #1254275: Array type hinting gives parser error --- diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java index 69dfdcf..95c4fd6 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/parser/Parser.java @@ -757,10 +757,11 @@ public class Parser implements ITerminalSymbols, CompilerModifiers, ParserBasicI expressionList(); if (token == TokenNameSEMICOLON) { getNextToken(); -// if (token != TokenNameINLINE_HTML) { -// // TODO should this become a configurable warning? -// reportSyntaxError("Probably '?>' expected after PHP short tag expression (only the first expression will be echoed)."); -// } + // if (token != TokenNameINLINE_HTML) { + // // TODO should this become a configurable warning? + // reportSyntaxError("Probably '?>' expected after PHP short tag + // expression (only the first expression will be echoed)."); + // } } else { if (token != TokenNameINLINE_HTML) { throwSyntaxError("';' expected after PHP short tag '