diff --git a/preprocessor b/preprocessor
index 4540bed06c80fcacd73bd8f34873198632396ae4..a61565bd016d5d165550a4a37849c0ebf6fdd1aa 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit 4540bed06c80fcacd73bd8f34873198632396ae4
+Subproject commit a61565bd016d5d165550a4a37849c0ebf6fdd1aa
diff --git a/tests/example1_macro.mod b/tests/example1_macro.mod
index 9d547fa8cad16736bd5b7e3775cd3133502f3330..be5da189ce302f6d998c4b39535b810df3520801 100644
--- a/tests/example1_macro.mod
+++ b/tests/example1_macro.mod
@@ -214,5 +214,9 @@ stoch_simul;
 @#error "Range error"
 @#endif
 
+@#if (bool)"FaLse" || !(bool)"TRUE" || (bool)"0" || !(bool)"-3"
+@#error "Error in cast of string to bool"
+@#endif
+
 @#echomacrovars(save)
 @#echomacrovars