2009-06-15 Vladimir Serbinenko <phcoder@gmail.com>

Fix handling of string like \"hello\" and "a
	b"

	* script/sh/lexer.c (check_textstate): accept GRUB_PARSER_STATE_ESC
This commit is contained in:
phcoder committed 2009-06-15 20:59:55 +00:00
1 parent 71c79a6b3b
commit 70b7f9fd57
2 files changed
+9

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ static int
check_textstate (grub_parser_state_t state)
{
return (state == GRUB_PARSER_STATE_TEXT
|| state == GRUB_PARSER_STATE_ESC
|| state == GRUB_PARSER_STATE_QUOTE
|| state == GRUB_PARSER_STATE_DQUOTE);
}