You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2008/12/30 00:04:46 UTC

svn commit: r730010 - /tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g

Author: hlship
Date: Mon Dec 29 15:04:46 2008
New Revision: 730010

URL: http://svn.apache.org/viewvc?rev=730010&view=rev
Log:
TAP5-425: When attempting to reference a property whose name is a single letter, Tapestry fails with a wierd exception

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g?rev=730010&r1=730009&r2=730010&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/antlr/org/apache/tapestry5/internal/antlr/PropertyExpressionLexer.g Mon Dec 29 15:04:46 2008
@@ -90,7 +90,7 @@
 THIS	:	T H I S;
 
 IDENTIFIER 
-	:	LETTER (LETTER | DIGIT | '_')+;
+	:	LETTER (LETTER | DIGIT | '_')*;
 
 // The Safe Dereference operator understands not to de-reference through
 // a null.