added ':' support to VariantParser, given it' s used by export.cfg
This commit is contained in:
parent
4e367a4b7b
commit
b6388e6001
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue