1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

Treat 'section{' as equivalent to 'section {'

This commit is contained in:
Alasdair Kergon 2003-01-28 16:07:04 +00:00
parent 98f29da3ec
commit 41102098e5

View File

@ -626,7 +626,8 @@ static void _get_token(struct parser *p)
default: default:
p->t = TOK_IDENTIFIER; p->t = TOK_IDENTIFIER;
while ((p->te != p->fe) && (*p->te) && !isspace(*p->te) && while ((p->te != p->fe) && (*p->te) && !isspace(*p->te) &&
(*p->te != '#') && (*p->te != '=')) (*p->te != '#') && (*p->te != '=') && (*p->te != '{') &&
(*p->te != '}'))
p->te++; p->te++;
break; break;
} }