On Thu, May 23, 2013 at 11:10 AM, Jan De Moerloose <
[email protected]> wrote:
> For backward compatibility, it might be an option to change the order of
> the token evaluations of INTEGER and DE9IM_PATTERN. An DE9IM_PATTERN
> consisting of all integers is extremely unlikely, so it might be better to
> change the parser order by putting DE9IM_PATTERN after INTEGER. People that
> really need an all-integer DE9IM_PATTERN could use the escape construct, of
> course.
>
I am wondering if some kind of lookahead in the grammar would help it
resolve the situation, and decide which is which based on contextual
information.
Unfortunately my JavaCC is quite rusty...
Cheers
Andrea
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel