From 60b3b9934604ca0815f15978375adf2b163c724e Mon Sep 17 00:00:00 2001 From: kylon Date: Sat, 6 Jun 2020 15:33:27 +0200 Subject: [PATCH] Add another variant of _PLD fix --- syntax/fix_PLD.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/syntax/fix_PLD.txt b/syntax/fix_PLD.txt index edb082f..48f9e2f 100644 --- a/syntax/fix_PLD.txt +++ b/syntax/fix_PLD.txt @@ -13,7 +13,12 @@ begin %1(Package() { Buffer%2} end; -# +# ToPLD +into_all all code_regex (Name\s*\(_PLD,\s*)(ToPLD\s*\([^\)]*\)) replaceall_matched +begin +%1Package() { %2 } +end; + # REVIEW: below is causing issues... #into_all all code_regex (Name\s*\(_PLD,\s*)Package(\s\([^\)].*\)[^\)]*) replaceall_matched