# HG changeset patch # User unC0Rr # Date 1724938100 -7200 # Node ID 274a5afc2aec3dd89daddf8b6baf7509d0eeb770 # Parent 3402b218569810265d595af58ec33ebf0b7fe0d4 Make pas2c engine work with hwengine-future diff -r 3402b2185698 -r 274a5afc2aec project_files/hwc/CMakeLists.txt --- a/project_files/hwc/CMakeLists.txt Thu Aug 29 12:56:16 2024 +0200 +++ b/project_files/hwc/CMakeLists.txt Thu Aug 29 15:28:20 2024 +0200 @@ -6,8 +6,6 @@ find_package(SDL2_image 2 REQUIRED) find_package(SDL2_ttf 2 REQUIRED) -corrosion_import_crate(MANIFEST_PATH "${CMAKE_SOURCE_DIR}/rust/lib-hwengine-future/Cargo.toml") - #compile our rtl implementation include_directories(${CMAKE_CURRENT_SOURCE_DIR}/rtl) include_directories(${PHYSFS_INCLUDE_DIR}) diff -r 3402b2185698 -r 274a5afc2aec tools/pas2c/PascalParser.hs --- a/tools/pas2c/PascalParser.hs Thu Aug 29 12:56:16 2024 +0200 +++ b/tools/pas2c/PascalParser.hs Thu Aug 29 15:28:20 2024 +0200 @@ -346,6 +346,7 @@ , try $ string "overload;" , try $ string "export;" , try $ string "varargs;" + , try $ string "external;" , try (string' "external") >> comments >> iD >> comments >> optional (string' "name" >> comments >> stringLiteral pas) >> string' ";" >> return "external;" ]