From 12da7181ff3321ff67a1a19dce0e6d294a823bc2 Mon Sep 17 00:00:00 2001 From: lizzie Date: Tue, 1 Sep 2026 00:22:40 +0000 Subject: [PATCH] fix tomo again --- src/core/file_sys/ips_layer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp index b64ad8dcf2..00aefd0414 100644 --- a/src/core/file_sys/ips_layer.cpp +++ b/src/core/file_sys/ips_layer.cpp @@ -257,6 +257,7 @@ void IPSwitchCompiler::Parse(std::span bytes) { // we dont check for "//", IPS checks for '/' only... if ((!quote && p[0] == '/') || (!quote && p[0] == '#')) { + --p; //eat up the comment char break; } else if (p[0] == '\"' || p[0] == '\'') { quote = (p[0] == quote) ? '\0' : p[0];