From: Helge Norberg Date: Tue, 22 Dec 2015 19:19:02 +0000 (+0100) Subject: Fixed bug in scene_producer expression parser where trailing numbers could not be... X-Git-Tag: 2.1.0_Beta1~129 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=de0d266c8ad4f9211e67fdeb23e6ac93e219f799;p=casparcg Fixed bug in scene_producer expression parser where trailing numbers could not be part of identifieres --- diff --git a/core/producer/scene/expression_parser.cpp b/core/producer/scene/expression_parser.cpp index b4d07cc3c..5bc20be65 100644 --- a/core/producer/scene/expression_parser.cpp +++ b/core/producer/scene/expression_parser.cpp @@ -184,7 +184,8 @@ boost::any parse_variable( if (ch == L'.' || ch == L'_' || (ch >= L'a' && ch <= L'z') - || (ch >= L'A' && ch <= L'Z')) + || (ch >= L'A' && ch <= L'Z') + || (variable_name.length() > 0 && ch >= L'0' && ch <= L'9')) variable_name += ch; else break;