c2c7065e17
"'if': 'COND'" generates "#if COND". We reject empty COND because it won't compile. Blank COND won't compile any better, so reject that, too. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190914153506.2151-12-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
4 lines
106 B
JSON
4 lines
106 B
JSON
# check invalid 'if' content
|
|
{ 'struct': 'TestIfStruct', 'data': { 'foo': 'int' },
|
|
'if': ['foo', ' '] }
|