Fix seg fault parsing invalid exponents
Add error message when exponents are incomplete, for example 5e and 5.e
This commit is contained in:
parent
9b0e06a8e8
commit
07a30249f4
8 changed files with 36 additions and 6 deletions
4
Examples/test-suite/errors/cpp_invalid_exponents1.i
Normal file
4
Examples/test-suite/errors/cpp_invalid_exponents1.i
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
%module xxx
|
||||
|
||||
void bad(double nn = 5e);
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue