Author: markt Date: Sun Jul 14 17:54:18 2013 New Revision: 1503005 URL: http://svn.apache.org/r1503005 Log: Add comments about ambiguity of {} in EL 3.0 syntax.
Modified: tomcat/trunk/java/org/apache/el/parser/ELParser.jjt Modified: tomcat/trunk/java/org/apache/el/parser/ELParser.jjt URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/el/parser/ELParser.jjt?rev=1503005&r1=1503004&r2=1503005&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/el/parser/ELParser.jjt (original) +++ tomcat/trunk/java/org/apache/el/parser/ELParser.jjt Sun Jul 14 17:54:18 2013 @@ -327,6 +327,11 @@ void NonLiteral() : {} | MapData() } +/* + * Note that both an empty Set and an empty Map are represented by {}. The + * parser will always parse {} as an empty Set and special handling is required + * to convert it to an empty Map when appropriate. + */ void SetData() #SetData: {} { <START_SET_OR_MAP> @@ -341,6 +346,11 @@ void ListData() #ListData: {} <RBRACK> } +/* + * Note that both an empty Set and an empty Map are represented by {}. The + * parser will always parse {} as an empty Set and special handling is required + * to convert it to an empty Map when appropriate. + */ void MapData() #MapData: {} { <START_SET_OR_MAP> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org