From 4f9fd2eb383d129df7cc8b8cfcb1f3081907447a Mon Sep 17 00:00:00 2001 From: Tomohiro Date: Sat, 15 Feb 2025 01:52:29 +0900 Subject: [PATCH] Fix #552: Converting cstring to pointer compiles without errors (#553) --- src/nimony/sigmatch.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nimony/sigmatch.nim b/src/nimony/sigmatch.nim index 4030117e..6fe711ab 100644 --- a/src/nimony/sigmatch.nim +++ b/src/nimony/sigmatch.nim @@ -647,7 +647,7 @@ proc singleArgImpl(m: var Match; f: var Cursor; arg: Item) = discard "ok" inc f expectParRi m, f - of PtrT: + of PtrT, CstringT: m.args.addParLe HconvX, m.argInfo m.args.addSubtree f inc m.opened