summaryrefslogtreecommitdiff
path: root/decoder/rule_lexer.l
diff options
context:
space:
mode:
authortrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-04 11:19:47 +0000
committertrevor.cohn <trevor.cohn@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-04 11:19:47 +0000
commit640f70df254278e62f26e58f44df144c34c93c9e (patch)
treed9e651c723f6ee2a68b12e5c7066b2a34b6c1bb5 /decoder/rule_lexer.l
parent93049316b48a5c2e856e4087ff71241c94544d28 (diff)
allow for wider set of NT strings
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@477 ec762483-ff6d-05da-a07a-a48fb63a330f
Diffstat (limited to 'decoder/rule_lexer.l')
-rw-r--r--decoder/rule_lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/rule_lexer.l b/decoder/rule_lexer.l
index 0216b119..63eb7562 100644
--- a/decoder/rule_lexer.l
+++ b/decoder/rule_lexer.l
@@ -110,7 +110,7 @@ void check_and_update_ctf_stack(const TRulePtr& rp) {
%}
REAL [\-+]?[0-9]+(\.[0-9]*([eE][-+]*[0-9]+)?)?|inf|[\-+]inf
-NT [\-#$A-Z_:=.",\\][\-#$".A-Z+/=_0-9!:@\\]*
+NT [^\t \[\],]+
%x LHS_END SRC TRG FEATS FEATVAL ALIGNS
%%