[Issue 23018] importC: syntax error for sizeof with postfix operator on parenthesized expression
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 10 01:39:58 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=23018
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |pull
--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@maxhaton created dlang/dmd pull request #14099 "Fix Issue 23018 - sizeof
unary-expression was not parsed correctly" fixing this issue:
- Fix Issue 23018 - sizeof unary-expression was not parsed correctly
This is fixed by improving the logic for guessing if a token is part of a
type or not.
Previously it did not use the typedef-table (boo!) the parser maintains, now
it does.
https://github.com/dlang/dmd/pull/14099
--
More information about the Digitalmars-d-bugs
mailing list