From 26ea8f6dcb4f49565817fa5a06187e228c8ee693 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 15 Oct 2017 12:11:33 +0100 Subject: Syntax: Replace `foreign_system_library "kernel.lib"` to `foreign_library "system:kernel.lib"`; Remove keyword: `foreign_system_library` --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5da7105c3..cd7215168 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -430,6 +430,12 @@ bool parse_build_flags(Array args) { break; } + if (name == "system") { + gb_printf_err("Library collection name `system` is reserved\n"); + bad_flags = true; + break; + } + String prev_path = {}; bool found = find_library_collection_path(name, &prev_path); if (found) { -- cgit v1.2.3