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:
parent
98f29da3ec
commit
41102098e5
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user