1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-29 21:45:14 +00:00

Make parser errors a bit better for files with no closing

delimiters.
This commit is contained in:
Calvin Rose
2019-01-17 23:43:46 -05:00
parent c4114fbcdb
commit b4934ceddc
7 changed files with 24 additions and 24 deletions

View File

@@ -21,8 +21,8 @@
(defn check-number [text] (and (scan-number text) text))
(defn- make-grammar
"Creates the grammar based on the paint function and some
wraping constants."
"Creates the grammar based on the paint function, which
colorizes fragments of text."
[paint]
(defn <-c
@@ -128,19 +128,6 @@
</style>
```)
(def- html-boiler-prefix
```<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>title</title>
</head>
<body>
</body>
</html>
```)
(defn- html-escape
"Escape special characters for HTML encoding."
[str]