Skip to content

Commit

Permalink
[Lexer] Print some more debug info on error.
Browse files Browse the repository at this point in the history
issue: #1865
  • Loading branch information
DaveDavenport committed Jul 5, 2023
1 parent 64ceb85 commit 45c4a12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lexer/theme-lexer.l
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ static double rofi_theme_parse_convert_hex ( char high, char low)
{ \
if ( errno != EINTR ) \
{ \
fprintf(stderr, "Failed to read input from file: %s\n", strerror(errno)); \
YY_FATAL_ERROR( "input in flex scanner failed" ); \
break; \
} \
Expand Down

0 comments on commit 45c4a12

Please sign in to comment.