restored @ for nodepaths/stringnames

This commit is contained in:
Juan Linietsky 2015-02-19 18:12:45 -03:00
parent 3fdf3d8eab
commit daeac73c54

View File

@ -538,9 +538,12 @@ void GDTokenizerText::_advance() {
is_node_path=true; is_node_path=true;
case '\'': case '\'':
string_mode=STRING_SINGLE_QUOTE;
case '"': { case '"': {
if (GETCHAR(0)=='\'')
string_mode=STRING_SINGLE_QUOTE;
int i=1; int i=1;
if (string_mode==STRING_DOUBLE_QUOTE && GETCHAR(i)=='"' && GETCHAR(i+1)=='"') { if (string_mode==STRING_DOUBLE_QUOTE && GETCHAR(i)=='"' && GETCHAR(i+1)=='"') {
i+=2; i+=2;