Skip to content

[BUG] Parens disappear in std::cout expressions #91

@filipsajdak

Description

@filipsajdak

Parens are not preserved in one of the regression-tests: mixed-test-parens.cpp2

The code

std::cout << (1+2)*(3+v[0]);

is compiled by the cppfront to:

std::cout << (1+2)* 3 + v[0];

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions