nvramtool: Allow spaces in enumeration names
Change-Id: Id526e74f06fb15d4692d7b6edc8b5863f2d42c50 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/901 Tested-by: build bot (Jenkins)
This commit is contained in:
parent
26b00e6d39
commit
c3fc4b9337
|
@ -149,7 +149,7 @@ static const char enums_line_regex[] =
|
||||||
/* followed by one or more whitespace characters */
|
/* followed by one or more whitespace characters */
|
||||||
"[[:space:]]+"
|
"[[:space:]]+"
|
||||||
/* followed by a chunk of nonwhitespace for text field */
|
/* followed by a chunk of nonwhitespace for text field */
|
||||||
"([^[:space:]]+)"
|
"([[:print:]]*[^[:space:]])"
|
||||||
/* followed by optional whitespace */
|
/* followed by optional whitespace */
|
||||||
"[[:space:]]*$";
|
"[[:space:]]*$";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue