]> git.proxmox.com Git - grub2.git/commit
Multi-line quoted strings support.
authorBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 03:13:35 +0000 (08:43 +0530)
committerBVK Chaitanya <bvk@dbook>
Sat, 4 Sep 2010 03:13:35 +0000 (08:43 +0530)
commit888d1500b2ce0f8520e93c93c6014aec8b11394e
tree67fa5115d32368d30f9ff98da7f8ea0563e5c4f9
parentdda060dd0fb1e0db8735e449908fbaaee91f4a75
parentadcf5a8e304042cdf0dd02c845240fdb2fa7701a
Multi-line quoted strings support.

* grub-core/script/lexer.c (append_newline): Removed.
(grub_script_lexer_yywrap): Refactored.
(grub_script_lexer_init): Refactored.
* grub-core/script/yylex.l (yywrap): New function.
(grub_lexer_resplit): New function.
(grub_lexer_unput): New function.
* include/grub/script_sh.h (grub_lexer_param): New members, unput
and resplit.
* tests/grub_script_echo1.in: Added few more testcases.
ChangeLog