summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/script-parse.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/script-parse.cpp b/src/map/script-parse.cpp
index 10d1582..e2cb4c6 100644
--- a/src/map/script-parse.cpp
+++ b/src/map/script-parse.cpp
@@ -592,7 +592,11 @@ ZString::iterator ScriptBuffer::parse_line(ZString::iterator p, bool *can_step)
p = skip_space(p);
if (*p == ';')
+ {
+ disp_error_message("Double semi-colon"_s, p);
+ ++p;
return p;
+ }
parse_cmd_if = 0; // warn_cmd_no_commaのために必要