Issue error for missing ; after %constant

Previously there was no warning or error, no files were produced,
but exit status was 0.

Fixes #346
This commit is contained in:
Olly Betts 2022-01-27 15:35:24 +13:00
commit 282e4ed4ab
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,3 @@
%module xxx
%constant int BAR=0
int foo(int);

View file

@ -0,0 +1 @@
swig_constant_missing_semi.i:3: Warning 305: Bad constant value (ignored).