diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-05 19:08:54 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-05 19:08:54 +0000 |
commit | 7bbad9d8f8c1a9cc65ce892efef4ccdb734f3576 (patch) | |
tree | 5ad90e1683761e52442eef4afb76287b7b0d11eb /sys/compat/x86bios | |
parent | 31021ec9f13b3e3a013f75bfa436a2c7c4622ef3 (diff) | |
download | FreeBSD-src-7bbad9d8f8c1a9cc65ce892efef4ccdb734f3576.zip FreeBSD-src-7bbad9d8f8c1a9cc65ce892efef4ccdb734f3576.tar.gz |
Prepare configuration parsing code to be called multiple times:
- Don't exit on errors if not requested.
- Don't keep configuration in global variable, but allocate memory for
configuration.
- Call yyrestart() before yyparse() so that on error in configuration file
we will start from the begining next time and not from the place we left of.
MFC after: 1 month
Diffstat (limited to 'sys/compat/x86bios')
0 files changed, 0 insertions, 0 deletions