Skip to content

Commit

Permalink
Update build system
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Oct 23, 2024
1 parent f25cda0 commit 3012f57
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(CMAKE_CXX_STANDARD 20)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/antlr_cmake)

add_definitions(-DANTLR4CPP_STATIC)
set(ANTLR4_WITH_STATIC_CRT ON)
set(ANTLR4_WITH_STATIC_CRT OFF)
include(ExternalAntlr4Cpp)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)
Expand Down
7 changes: 0 additions & 7 deletions pya2l/extensions/a2lparser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,6 @@ class A2LParser {
}
m_reader->consume();
m_keyword_counter++;

#if 0
if (token_type() == ANTLRToken::_EOF) {
std::cout << m_keyword_counter / 1000 << "k tokens processed." << std::endl;
break;
}
#endif
auto kw = ValueContainer(kw_tos().m_name);

// std::cout << "KW: " << kw_tos().m_name << std::endl;
Expand Down

0 comments on commit 3012f57

Please sign in to comment.