diff --git a/src/snc/snl.lem b/src/snc/snl.lem
index a489e9b43e406e7e65c46f89e37ca407a7d2b8a8..6777372b9cc923caf784a4727a2e6d993e6cadd1 100644
--- a/src/snc/snl.lem
+++ b/src/snc/snl.lem
@@ -31,6 +31,15 @@ in the file LICENSE that is included with this distribution.
 		"syntax error near token '%s'\n", TOKEN.str);
 }
 
+// %stack_overflow {
+// 	   report("parser stack overflow\n");
+// }
+
+// A stack size of 0 (zero) means stack size gets dynamically increased
+// on demand i.e. stack size is essentially unlimited. This is important
+// because some rules like the one for IF/ELSE statements employ left-recursion.
+%stack_size 0
+
 %token_type { Token }
 %default_type { Expr* }