Skip to content

Commit

Permalink
Handle comments in reader
Browse files Browse the repository at this point in the history
Useful for reading eg project.clj
  • Loading branch information
jamii authored and swannodette committed Dec 14, 2013
1 parent 11fcd5d commit 454bcb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cljs/cljs/reader.cljs
Expand Up @@ -383,7 +383,7 @@ nil if the end of stream has been reached")
(cond
(identical? c \") read-string*
(identical? c \:) read-keyword
(identical? c \;) not-implemented ;; never hit this
(identical? c \;) read-comment
(identical? c \') (wrapping-reader 'quote)
(identical? c \@) (wrapping-reader 'deref)
(identical? c \^) read-meta
Expand Down

0 comments on commit 454bcb7

Please sign in to comment.