added ':' support to VariantParser, given it' s used by export.cfg

This commit is contained in:
Juan Linietsky 2016-01-07 09:16:11 -03:00
parent 4e367a4b7b
commit b6388e6001

View file

@ -1615,6 +1615,9 @@ Error VariantParser::_parse_tag(Token& token, Stream *p_stream, int &line, Strin
if (parsing_tag && token.type==TK_PERIOD) {
r_tag.name+="."; //support tags such as [someprop.Anroid] for specific platforms
get_token(p_stream,token,line,r_err_str);
} else if (parsing_tag && token.type==TK_COLON) {
r_tag.name+=":"; //support tags such as [someprop.Anroid] for specific platforms
get_token(p_stream,token,line,r_err_str);
} else {
parsing_tag=false;
}