Page MenuHomeFeedback Tracker

Enscript compiler - operator bug
Assigned, UrgentPublic

Description

The following results in a syntax error compile error which it should not do. The parser confused the - to be a negative indication for the int instead of an operator

int GetValue()
{
    return 1-1;
};

This works ...

int GetValue()
{
    return 1- 1;
};

Details

Severity
Block
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
General
Additional Information

Please forward the issue to the Enfusion team so this can be addressed.

Event Timeline

Arkensor created this task.Aug 28 2020, 2:17 PM
Geez changed the task status from New to Assigned.Aug 31 2020, 11:10 AM