Github user JPercivall commented on the issue: https://github.com/apache/nifi/pull/1018 @mattyb149, I agree with adding it to the lexer as a subset. I thought through it a bit more and is someone passes "toLiteral('1.1')" they should expect they would get a string with the value "1.1". I'll do some research on the best way to parse double/floating points via Antlr and post a new commit. Thanks!
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---