The issue on Puhti was that it was missing a static flex library which would have provided the function yywrap. Fixed by removing the static library dependency and adding option noyywrap to the lexer generator file

This commit is contained in:
jpekkila
2019-09-24 17:19:19 +03:00
parent 72af2cf31d
commit 62fa95ca0d
2 changed files with 1 additions and 1 deletions

View File

@@ -8,4 +8,3 @@ add_flex_bison_dependency(acc_lexer acc_parser)
add_executable(acc code_generator.c ${BISON_acc_parser_OUTPUTS} ${FLEX_acc_lexer_OUTPUTS})
target_include_directories(acc PRIVATE ${CMAKE_CURRENT_BINARY_DIR})
target_link_libraries(acc ${FLEX_LIBRARIES})

View File

@@ -1,4 +1,5 @@
%option yylineno
%option noyywrap
D [0-9]
L [a-zA-Z_]