Skip to content

[BUG] Assert failed, file lex.h, line 320. #1130

@MarekKnapek

Description

@MarekKnapek

Describe the bug
File lex.h.
Line 320.
Expression global_token_order == 0.

To Reproduce
Steps to reproduce the behavior:

  1. Download source code of cppfront.
  2. Compile cppfront.
  3. Run cppfront on test.cpp2 file.
  4. Assert triggers inside cppfront.

Additional context
Test.cpp2 file's content is only 24 bytes long and it is: nI:(Q):floatl:()h:r:~-=:.

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