Skip to content

Commit

Permalink
update parser error message for empty code and file
Browse files Browse the repository at this point in the history
  • Loading branch information
gewang committed Jan 2, 2025
1 parent be1cfa6 commit 3f2947d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/chuck_parse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ t_CKBOOL chuck_parse( Chuck_CompileTarget * target )
}
else
{
CK_FPRINTF_STDERR( "[chuck](parser): (internal) code and FILE descriptor both NULL!\n" );
CK_FPRINTF_STDERR( "[chuck](parser): |- bailing out...\n" );
CK_FPRINTF_STDERR( "[chuck](parser): nothing to parse (empty code / file)...\n" );
CK_FPRINTF_STDERR( "[chuck](parser): |- no action taken\n" );
return FALSE;
}

Expand Down

0 comments on commit 3f2947d

Please sign in to comment.