We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d7abc4 commit a63e8bbCopy full SHA for a63e8bb
src/parser.jl
@@ -526,9 +526,9 @@ end
526
# Parse docstrings attached by a space or single newline
527
#
528
# flisp: parse-docstring
529
-function parse_docstring(ps::ParseState, down=parse_eq)
+function parse_docstring(ps::ParseState)
530
mark = position(ps)
531
- down(ps)
+ parse_eq(ps)
532
if peek_behind(ps).kind == K"string"
533
is_doc = true
534
k = peek(ps)
@@ -553,7 +553,7 @@ function parse_docstring(ps::ParseState, down=parse_eq)
553
# """\n doc\n """ foo ==> (doc (string-s "doc\n") foo)
554
end
555
if is_doc
556
557
emit(ps, mark, K"doc")
558
559
0 commit comments