Skip to content

Commit

Permalink
Fix #552: Converting cstring to pointer compiles without errors (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
demotomohiro authored Feb 14, 2025
1 parent 752bb70 commit 4f9fd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimony/sigmatch.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f9fd2e

Please sign in to comment.