Skip to content

Commit

Permalink
Don't treat field_expression or argument_list as forms #617
Browse files Browse the repository at this point in the history
  • Loading branch information
Olical committed Nov 16, 2024
1 parent 590d4bc commit 1c49572
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions fnl/conjure/client/julia/stdio.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
(local buf-suffix ".jl")
(local comment-prefix "# ")

(fn form-node? [node]
(and (not= "field_expression" (node:type))
(not= "argument_list" (node:type))))

(fn with-repl-or-warn [f _opts]
(let [repl (state :repl)]
(if repl
Expand Down Expand Up @@ -174,6 +178,7 @@
{: buf-suffix
: comment-prefix
: unbatch
: form-node?
: format-msg
: get-form-modifier
: eval-str
Expand Down
5 changes: 4 additions & 1 deletion lua/conjure/client/julia/stdio.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1c49572

Please sign in to comment.