mescc: Allow superfluous parentheses in function declarations.
authorPeter De Wachter <pdewacht@gmail.com>
Tue, 16 Oct 2018 18:40:40 +0000 (20:40 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Tue, 16 Oct 2018 18:40:40 +0000 (20:40 +0200)
commitb560899d84ecf0272fe8b6e6faaeb99ff06a6d1f
treed08d946a31435b124f2ff51e82ffb23a606c7f86
parentab57acfa017d92f94bde545a1ab7b44904778682
mescc: Allow superfluous parentheses in function declarations.

E.g.:  int (f)();
This is obscure but valid C.  It occurs in the csmith headers (thanks
to macro shenanigans).

* module/mescc/compile.scm (fctn-defn:get-name,
fctn-defn:get-statement): Allow superfluous parentheses in function declarations.
module/mescc/compile.scm