From 979fb0e4c3ffe19f4f187728ed6f2b889189a4fd Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Sat, 1 Nov 2014 13:30:05 +0100 Subject: [PATCH] custom option can be disabled with semicolon or dblbackslashes --- src/ce_dmdwrap.pas | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ce_dmdwrap.pas b/src/ce_dmdwrap.pas index d1145909..1db95d3d 100644 --- a/src/ce_dmdwrap.pas +++ b/src/ce_dmdwrap.pas @@ -916,6 +916,11 @@ var begin for str1 in fCustom do if str1 <> '' then begin + if str1[1] = ';' then + continue; + if length(str1) > 1 then + if str1[1..2] = '//' then + continue; if str1[1] <> '-' then str2 := '-' + str1 else