From 1af47f05c35a5d52bc93f37aba02e03c8b2e3e6d Mon Sep 17 00:00:00 2001 From: Zeex Date: Sun, 3 Aug 2014 15:39:32 +0700 Subject: [PATCH] Remove stupid assert It triggers if you use an undefined symbol as array dimension size. The error is actually reported during the second pass. --- source/compiler/sc1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 97f1fd6..a2edc74 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -2310,7 +2310,6 @@ static int base; if (cur==numdim-1) return 0; /* 2 or more dimensions left, fill in an indirection vector */ - assert(dim[cur]>0); if (dim[cur+1]>0) { for (d=0; d