No description
Find a file
Colin Watson 09fd6d8293 Remove nested functions from script reading and parsing.
* grub-core/kern/parser.c (grub_parser_split_cmdline): Add
getline_data argument, passed to getline.
* grub-core/kern/rescue_parser.c (grub_rescue_parse_line): Add
getline_data argument, passed to grub_parser_split_cmdline.
* grub-core/script/lexer.c (grub_script_lexer_yywrap): Pass
lexerstate->getline_data to lexerstate->getline.
(grub_script_lexer_init): Add getline_data argument, saved in
lexerstate->getline_data.
* grub-core/script/main.c (grub_normal_parse_line): Add getline_data
argument, passed to grub_script_parse.
* grub-core/script/script.c (grub_script_parse): Add getline_data
argument, passed to grub_script_lexer_init.
* include/grub/parser.h (grub_parser_split_cmdline): Update
prototype.  Update all callers to pass appropriate getline data.
(struct grub_parser.parse_line): Likewise.
(grub_rescue_parse_line): Likewise.
* include/grub/reader.h (grub_reader_getline_t): Add void *
argument.
* include/grub/script_sh.h (struct grub_lexer_param): Add
getline_data member.
(grub_script_parse): Update prototype.  Update all callers to pass
appropriate getline data.
(grub_script_lexer_init): Likewise.
(grub_normal_parse_line): Likewise.

* grub-core/commands/legacycfg.c (legacy_file_getline): Add unused
data argument.
* grub-core/kern/parser.c (grub_parser_execute: getline): Make
static instead of nested.  Rename to ...
(grub_parser_execute_getline): ... this.
* grub-core/kern/rescue_reader.c (grub_rescue_read_line): Add unused
data argument.
* grub-core/normal/main.c (read_config_file: getline): Make static
instead of nested.  Rename to ...
(read_config_file_getline): ... this.
(grub_normal_read_line): Add unused data argument.
* grub-core/script/execute.c (grub_script_execute_sourcecode:
getline): Make static instead of nested.  Rename to ...
(grub_script_execute_sourcecode_getline): ... this.
* util/grub-script-check.c (main: get_config_line): Make static
instead of nested.
2013-01-15 12:03:25 +00:00
build-aux Use gnulib-tool to create gnulib source files. 2010-09-20 12:35:33 +02:00
conf Import gcrypt public-key cryptography and implement signature checking. 2013-01-11 21:32:42 +01:00
docs Clean up dangling references to grub-setup. 2013-01-12 13:30:37 +00:00
grub-core Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
include Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
m4 neater gnulib backport 2012-12-28 07:13:34 +00:00
po Regenerate po/POTFILES.in with the following commmand in a clean tree: 2012-08-01 01:06:53 +02:00
tests Apply program name transformations at build-time rather than at 2012-12-28 06:57:17 +00:00
themes/starfield Starfield theme. 2012-02-23 17:21:38 +01:00
unicode * unicode: Import Unicode 6.0 data. 2011-12-25 16:17:25 +01:00
util Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
.bzrignore Remove autogenerated files from VCS 2013-01-12 16:17:31 +01:00
ABOUT-NLS automake commit without merge history 2010-05-06 11:34:04 +05:30
acinclude.m4 Apply program name transformations at build-time rather than at 2012-12-28 06:57:17 +00:00
AUTHORS 2005-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2005-09-03 16:54:27 +00:00
autogen.sh * autogen.sh: Do not try to delete nonexistant files. 2013-01-12 16:14:09 +01:00
BUGS * BUGS: New file. 2011-01-11 00:06:01 +01:00
ChangeLog Remove nested functions from script reading and parsing. 2013-01-15 12:03:25 +00:00
config.h.in Move platform-dependent files from $prefix to $prefix/$platform. 2012-02-04 21:47:29 +01:00
configure.ac Clean up dangling references to grub-setup. 2013-01-12 13:30:37 +00:00
COPYING 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
geninit.sh automake commit without merge history 2010-05-06 11:34:04 +05:30
gentpl.py Don't require grub-mkconfig_lib to generate manpages for programs. 2012-09-12 08:27:26 +02:00
INSTALL * INSTALL: Document that libdevmapper needs to be 1.02.34 or later. 2010-09-02 23:57:21 +01:00
linguas.sh * linguas.sh: Remove autogenerated *.po. 2012-04-07 19:44:50 +02:00
Makefile.am * Makefile.am (EXTRA_DIST): Add linguas.sh. It's only strictly 2012-09-04 23:35:38 +01:00
Makefile.util.def Import gcrypt public-key cryptography and implement signature checking. 2013-01-11 21:32:42 +01:00
NEWS * NEWS: Fix typo. 2012-09-05 13:55:54 +01:00
README * README: Point to the Info manual. 2010-07-13 12:20:32 +01:00
THANKS 2009-12-11 Robert Millan <rmh.grub@aybabtu.com> 2009-12-11 22:44:47 +00:00
TODO 2008-01-07 Robert Millan <rmh@aybabtu.com> 2008-01-07 19:21:34 +00:00

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

More extensive documentation is available in the Info manual,
accessible using 'info grub' after building and installing GRUB 2.
Please look at the GRUB Wiki <http://grub.enbug.org> for testing
procedures.

There are a number of important user-visible differences from the
first version of GRUB, now known as GRUB Legacy. For a summary, please
see:

  info grub Introduction 'Changes from GRUB Legacy'