lexer-rewrite rebase commit
This commit is contained in:
parent
bf86e59a76
commit
547e494f1b
25 changed files with 1214 additions and 652 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 2005,2007,2009 Free Software Foundation, Inc.
|
||||
* Copyright (C) 2005,2007,2009,2010 Free Software Foundation, Inc.
|
||||
*
|
||||
* GRUB is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -34,7 +34,7 @@ grub_script_function_create (struct grub_script_arg *functionname_arg,
|
|||
if (! func)
|
||||
return 0;
|
||||
|
||||
func->name = grub_script_execute_argument_to_string (functionname_arg);
|
||||
func->name = grub_strdup (functionname_arg->str);
|
||||
if (! func->name)
|
||||
{
|
||||
grub_free (func);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue