mescc: Grok char foo[] parameter.

* module/language/c99/compiler.mes (function->text+data): Grok char
  foo[] parameter.
This commit is contained in:
Jan Nieuwenhuizen 2017-11-19 19:59:18 +01:00
parent e77e56c5b0
commit cb90e51068

View file

@ -119,6 +119,7 @@
((ellipsis) #f) ((ellipsis) #f)
((param-decl (decl-spec-list (type-spec (void)))) #f) ((param-decl (decl-spec-list (type-spec (void)))) #f)
((param-decl _ (param-declr (ident ,name))) name) ((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) (ident ,name)))) name)
((param-decl _ (param-declr (ptr-declr (pointer) (array-of (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) ((param-decl _ (param-declr (ptr-declr (pointer (pointer)) (ident ,name)))) name)