From c6594204eca97388b8d1e2ec3ba442085bc5788d Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Wed, 2 Apr 2014 20:19:35 -0400 Subject: fix floating point issue --- decoder/rule_lexer.ll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decoder/rule_lexer.ll b/decoder/rule_lexer.ll index 05963d05..cc73c079 100644 --- a/decoder/rule_lexer.ll +++ b/decoder/rule_lexer.ll @@ -119,7 +119,7 @@ void check_and_update_ctf_stack(const TRulePtr& rp) { %} -REAL [\-+]?[0-9]+(\.[0-9]*([eE][-+]*[0-9]+)?)?|inf|[\-+]inf +REAL [\-+]?[0-9]+(\.[0-9]*)?([eE][-+]*[0-9]+)? NT [^\t \[\],]+ %x LHS_END SRC TRG FEATS FEATVAL ALIGNS TREE -- cgit v1.2.3