[Lexer] Print some more debug info on error.

issue: #1865
This commit is contained in:
Dave Davenport 2023-07-05 20:29:09 +02:00
parent 64ceb85eed
commit 45c4a12daa
1 changed files with 1 additions and 0 deletions

View File

@ -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; \
} \