Fix a debugger bug where it would not support statements like print(3).

This is a manual merge of a branch of Vlad Grigorescu.

BIT-1703 #merged
This commit is contained in:
Johanna Amann 2016-09-26 10:15:23 -07:00
parent 0bc4a5ea52
commit 48f505f706
3 changed files with 9 additions and 1 deletions

View file

@ -492,6 +492,9 @@ void tokenize(const char* cstr, string& operation, vector<string>& arguments)
++i;
}
else if ( ! delim && str[i] == '(' )
delim = ')';
else if ( ! delim && (str[i] == '\'' || str[i] == '"') )
delim = str[i];