From 4acda6d25b3da925d9a1a3f21e0f106c20706535 Mon Sep 17 00:00:00 2001 From: Simon Marchetto Date: Mon, 13 Oct 2014 12:33:46 +0200 Subject: [PATCH] scilab: fix preproc_line_file test --- Examples/test-suite/preproc_line_file.i | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Examples/test-suite/preproc_line_file.i b/Examples/test-suite/preproc_line_file.i index b221b7728..1c2f5be77 100644 --- a/Examples/test-suite/preproc_line_file.i +++ b/Examples/test-suite/preproc_line_file.i @@ -2,7 +2,7 @@ // Test __LINE__ and __FILE__ (don't change line numbering in here else runtime tests will need modifying) #define MYLINE __LINE__ -#define MYLINE_ADJUSTED __LINE__ + 100 +#define MYLINE_ADJUSTED __LINE__ + 100 #define MYFILE __FILE__ #define MYFILE_ADJUSTED __FILE__ ".bak" @@ -41,6 +41,10 @@ const int NUMBER_UNIQUE(thing) = -2; /* resolves to thing28 */ /* spare space */ #endif +#ifdef SWIGSCILAB +%rename(SillyMulMacroSt) SillyMultipleMacroStruct; +#endif + %{ struct SillyStruct { int num;