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:
@@ -149,7 +149,7 @@ static const char enums_line_regex[] =
|
||||
/* followed by one or more whitespace characters */
|
||||
"[[:space:]]+"
|
||||
/* followed by a chunk of nonwhitespace for text field */
|
||||
"([^[:space:]]+)"
|
||||
"([[:print:]]*[^[:space:]])"
|
||||
/* followed by optional whitespace */
|
||||
"[[:space:]]*$";
|
||||
|
||||
|
Reference in New Issue
Block a user