From a13b2ad28c0142c4a097ace3fde291f02a04f185 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Mon, 24 Jul 2017 19:15:54 +0200 Subject: [PATCH] mescc: Tinycc support: function parameters. * module/language/c99/compiler.mes (.name): Handle function parameters. --- 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 c8697842..bc6f507c 100644 --- a/module/language/c99/compiler.mes +++ b/module/language/c99/compiler.mes @@ -124,6 +124,7 @@ ((param-decl _ (param-declr (ptr-declr (pointer) (array-of (ident ,name))))) name) ((param-decl _ (param-declr (ptr-declr (pointer (pointer)) (ident ,name)))) name) ((param-decl _ (param-declr (ptr-declr (pointer (pointer (pointer))) (ident ,name)))) name) + ((param-decl _ (param-declr (ftn-declr (scope (ptr-declr (pointer) (ident ,name))) (param-list . ,params)))) name) (_ (format (current-error-port) "SKIP: .name =~a\n" o))))