]> git.draconx.ca Git - cdecl99.git/commit
Fix parsing of int (x*).
authorNick Bowler <nbowler@draconx.ca>
Thu, 2 Jul 2020 22:45:15 +0000 (18:45 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 3 Jul 2020 03:19:15 +0000 (23:19 -0400)
commitb36da52d0e7798814d23cdc9979fc1900f8e9e51
treee61220d5d690c3fe03aa61930eeffe61e22f07a7
parent57510b6e4963ad39846a4f4c7fbd4ce7145f426d
Fix parsing of int (x*).

We are incorrectly eliminating the function declarator from this
parse, which ends up "flipping" the pointer declarator.  So the
result is simply wrong.  Fix that up.

Also remove some contextless notes in a comment which I am no
longer smart enough to understand.
src/parse-decl.c
tests/decl-good.at [new file with mode: 0644]
testsuite.at