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
1 changed files with 1 additions and 0 deletions

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 (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))))