[Issue 22066] New: importC: Error: expression expected, not ';' using (postfix-expression)++

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 22 13:05:31 UTC 2021


          Issue ID: 22066
           Summary: importC: Error: expression expected, not ';' using
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: ibuclaw at gdcproject.org

A continuation of issue 21976.

Currently CParser returns true in isCastExpressionStart for the second
statement in:
int i = 0;

But then parsing fails when it attempts to parse '++' as a cast-expression.


More information about the Digitalmars-d-bugs mailing list