diff --git a/preprocessor b/preprocessor index a3e63101f4fcacbe6a4f3ed98849215cecda1e7d..e5121176a91a6105ab07b1bc7a0be18f3757f029 160000 --- a/preprocessor +++ b/preprocessor @@ -1 +1 @@ -Subproject commit a3e63101f4fcacbe6a4f3ed98849215cecda1e7d +Subproject commit e5121176a91a6105ab07b1bc7a0be18f3757f029 diff --git a/tests/example1_macro.mod b/tests/example1_macro.mod index a9567d517e6aa6eb2c72807832e149c431842ed5..e56d391c2932d661bb11d813b4462020d6e3a03f 100644 --- a/tests/example1_macro.mod +++ b/tests/example1_macro.mod @@ -157,10 +157,15 @@ stoch_simul; @#error "String comparison" @#endif +@#define A = "La crise �conomique" +@#if A[1,8,3,7,4,10,13,2,5,16,12,9,11,14,15,6,17:19] != "Le sc�nario comique" +@#error "Problem with string indexing/comparison" +@#endif + @#define f(x) = x + "C" @#if "A" + f("B") != "ABC" @#error "Problem with String concatenation" @#endif @#echomacrovars(save) -@#echomacrovars +@#echomacrovars \ No newline at end of file