commit-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub2/normal script.c parser.y lexer.c


From: Marco Gerards
Subject: grub2/normal script.c parser.y lexer.c
Date: Sat, 20 May 2006 11:10:22 +0000

CVSROOT:        /sources/grub
Module name:    grub2
Branch:         
Changes by:     Marco Gerards <address@hidden>  06/05/20 11:10:22

Modified files:
        normal         : script.c parser.y lexer.c 

Log message:
        2006-05-20  Marco Gerards  <address@hidden>
        
        * normal/lexer.c (grub_script_yylex): Don't filter out newlines.
        
        * normal/parser.y (commandblock): Defined as <cmd>.  A subroutine
        for `menuentry'.
        (script): Accept leading newlines.
        (newlines): New rule to describe 0 or more newlines.
        (commands): Accept `command' with trailing newline.  Fixed the
        order in which arguments were passed to `grub_script_add_cmd'.
        Accept commands separated by newlines.
        (function): Changed to accept newlines.
        (menuentry) Rewritten.
        
        * normal/script.c (grub_script_create_cmdmenu): Add new entries in
        front of the list, instead of to the end.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/grub/grub2/normal/script.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/grub/grub2/normal/parser.y.diff?tr1=1.4&tr2=1.5&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/grub/grub2/normal/lexer.c.diff?tr1=1.4&tr2=1.5&r1=text&r2=text




reply via email to

[Prev in Thread] Current Thread [Next in Thread]