hsutter / cppfront

A personal experimental C++ Syntax 2 -> Syntax 1 compiler
Other
5.23k stars 224 forks source link

[BUG] Crash. #1129

Closed MarekKnapek closed 1 week ago

MarekKnapek commented 1 week ago

Describe the bug Program terminated with signal: SIGSEGV Segmentation fault (core dumped)

To Reproduce Steps to reproduce the behavior:

  1. Download source code of cppfront.
  2. Compile cppfront.
  3. Run cppfront on test.cpp2 file.

Actual result

Expected result

Additional context Test.cpp2 file's content is only 5 bytes long and it is: l:=l*.

hsutter commented 1 week ago

Fixed, thanks!