summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-01-07 09:16:11 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-01-07 09:16:11 -0300
commitb6388e60018d859856f8f837139492f6eaa2e741 (patch)
tree17c294b9ab926b36d443badb968307323452aec8
parent4e367a4b7b5daea2f6586ee4192d2e5b813d75d8 (diff)
added ':' support to VariantParser, given it' s used by export.cfg
-rw-r--r--core/variant_parser.cpp3
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;
}