mescc: Tinycc support: function parameters.

* module/language/c99/compiler.mes (.name): Handle function parameters.
This commit is contained in:
Jan Nieuwenhuizen 2017-07-24 19:15:54 +02:00
parent f711b2f005
commit a13b2ad28c

View file

@ -124,6 +124,7 @@
((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)
((param-decl _ (param-declr (ptr-declr (pointer (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)))) (format (current-error-port) "SKIP: .name =~a\n" o))))