From cb90e5106861292838fcf314dba5b225585c3be5 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 19 Nov 2017 19:59:18 +0100 Subject: [PATCH] mescc: Grok char foo[] parameter. * module/language/c99/compiler.mes (function->text+data): Grok char foo[] parameter. --- module/language/c99/compiler.mes | 1 + 1 file changed, 1 insertion(+) diff --git a/module/language/c99/compiler.mes b/module/language/c99/compiler.mes index ab4cff55..9e082f03 100644 --- a/module/language/c99/compiler.mes +++ b/module/language/c99/compiler.mes @@ -119,6 +119,7 @@ ((ellipsis) #f) ((param-decl (decl-spec-list (type-spec (void)))) #f) ((param-decl _ (param-declr (ident ,name))) name) + ((param-decl _ (param-declr (array-of (ident ,name)))) name) ((param-decl _ (param-declr (ptr-declr (pointer) (ident ,name)))) name) ((param-decl _ (param-declr (ptr-declr (pointer) (array-of (ident ,name))))) name) ((param-decl _ (param-declr (ptr-declr (pointer (pointer)) (ident ,name)))) name)