[coreboot] [PATCH] Fixes the build error while generating option_table.h
Peter Stuge
peter at stuge.se
Sun May 8 20:13:06 CEST 2011
Patrick Georgi wrote:
> Am 08.05.2011 20:01, schrieb Peter Stuge:
> > if(!strncmp(line[strspn(line," ")],"\r\n",2) continue;
> More like:
> char val=line[strspn(line," ")];
> if (val=='#' || val=='\n' || val=='\r') continue;
>
> This has the benefit of handling
> " # comment"
..which is another change in the rules. :)
> and mac-style newlines, too.
Hmm.. Can those old Macs even connect to the internet? :p
//Peter
More information about the coreboot
mailing list