Hi,
with f2a419653cecc19e1c1a0cae6bb9016725e0f2a1 there's a new syntax error:
foo::foo() : m_bar{(x > 0) ? new uint32_t[x]{} : new uint32_t[1]{}}, {}
Output is:
error: Syntax Error: AST broken, ternary operator lacks ':'. [internalAstError] : m_bar{(x > 0) ? new uint32_t[x]{} : new uint32_t[1]{}},
Could you please check?
Thanks, Martin
Thanks for reporting, ticket is here: https://trac.cppcheck.net/ticket/10793
Log in to post a comment.
Hi,
with
f2a419653cecc19e1c1a0cae6bb9016725e0f2a1
there's a new syntax error:
Output is:
Could you please check?
Thanks,
Martin
Thanks for reporting, ticket is here: https://trac.cppcheck.net/ticket/10793