Commit 5b182196 authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

crash fix when pressing " on Windows

Reviewed-By: Roberto Raggi
parent 5c8e6e9f
...@@ -2118,7 +2118,7 @@ PropertyNameAndValueListOpt: PropertyNameAndValueList ; ...@@ -2118,7 +2118,7 @@ PropertyNameAndValueListOpt: PropertyNameAndValueList ;
token_buffer[1].dval = yylval = lexer->dval(); token_buffer[1].dval = yylval = lexer->dval();
token_buffer[1].loc = yylloc = location(lexer); token_buffer[1].loc = yylloc = location(lexer);
if (t_action(errorState, yytoken)) { if (token_buffer[0].token != -1 && t_action(errorState, yytoken)) {
QString msg = QString::fromUtf8("Removed token"); QString msg = QString::fromUtf8("Removed token");
if (const char *tokenSpell = spell[token_buffer[0].token]) { if (const char *tokenSpell = spell[token_buffer[0].token]) {
msg += QLatin1String(": `"); msg += QLatin1String(": `");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment