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:
Patrick Georgi 2012-04-14 16:21:39 +02:00
parent 26b00e6d39
commit c3fc4b9337
1 changed files with 1 additions and 1 deletions

View File

@ -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:]]*$";