Fix handling of string like \"hello\" and "a
b"
* script/sh/lexer.c
(grub_script_yylex): fix parsing of quoting, escaping and newline
when a special token was found. It will be recognized
next time when this function is called. */
if (newstate == GRUB_PARSER_STATE_TEXT
- && state->state != GRUB_PARSER_STATE_ESC)
+ && state->state != GRUB_PARSER_STATE_ESC
+ && state->state != GRUB_PARSER_STATE_QUOTE
+ && state->state != GRUB_PARSER_STATE_DQUOTE)
{
int breakout = 0;