Be more complete with JANET_NO_SOURCEMAPS

This actually removed sourcemaps, not just
the top level annotation in bindings.
This commit is contained in:
Calvin Rose
2019-06-20 11:55:52 -04:00
parent cf05ff610f
commit 4b4fe80404
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -83,7 +83,7 @@
(def p (peg/compile grammar))
# Just make sure is valgrind clean.
(-> p make-image load-image)
(def p (-> p make-image load-image))
(assert (peg/match p "abc") "complex peg grammar 1")
(assert (peg/match p "[1 2 3 4]") "complex peg grammar 2")