summaryrefslogtreecommitdiff
path: root/decoder
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
commitc668bd808b2123486bd64bdcaa992f7a8fa2da52 (patch)
tree4a7e7da1f9d02e7b14fa63b1a5d0cd302825f0b9 /decoder
parenta4615c8a584a3606483fe02cc3b7f3f18b80a967 (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')
-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
%%