1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-30 23:23:07 +00:00

Fix regression #1327

This commit is contained in:
Calvin Rose
2023-11-14 19:52:22 -06:00
parent 1ccd544b94
commit 56f33f514b
3 changed files with 16 additions and 15 deletions

View File

@@ -162,7 +162,7 @@
``Define a default value for an optional argument.
Expands to `(def sym (if (= nil sym) val sym))`.``
[sym val]
~(def ,sym (if (= nil ,sym) ,val ,sym)))
~(def ,sym (if (,= nil ,sym) ,val ,sym)))
(defmacro comment
"Ignores the body of the comment."