June 22, 2021 [Issue 22066] New: importC: Error: expression expected, not ';' using (postfix-expression)++ | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=22066 Issue ID: 22066 Summary: importC: Error: expression expected, not ';' using (postfix-expression)++ Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ibuclaw@gdcproject.org A continuation of issue 21976. Currently CParser returns true in isCastExpressionStart for the second statement in: --- int i = 0; (i)++; --- But then parsing fails when it attempts to parse '++' as a cast-expression. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply