From f16b956d1f72154a68481cc133b8595a4ae615cc Mon Sep 17 00:00:00 2001 From: Georgi Kirilov <> Date: Tue, 20 Dec 2022 15:19:44 +0800 Subject: [PATCH] add warning comment --- parser/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser/init.lua b/parser/init.lua index 7a9df27..181e210 100644 --- a/parser/init.lua +++ b/parser/init.lua @@ -161,6 +161,8 @@ local function make_parser(prefix, weak_prefix, opposite, d1, d2, D1, D2, atom_n local line_comment = Cg(lc_level, "d") * (1 - nline)^0 * nline * _comment(P(true)) * _line_comment(P(true)) local bcd1, bcd2 for o, c in pairs(opposite) do + -- XXX: here I assume that #| is the only multi-char delimiter, + -- and that it means block comment if #o > 1 then bcd1, bcd2 = o, c break -- 2.11.4.GIT