diff options
-rw-r--r-- | core/variant_parser.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/variant_parser.cpp b/core/variant_parser.cpp index 43140a672b..5ca0984103 100644 --- a/core/variant_parser.cpp +++ b/core/variant_parser.cpp @@ -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; } |