Skip to content

Commit 376baf9

Browse files
committed
Added get-parser-error-msg-json to src/results-generator
1 parent 7ab7fac commit 376baf9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

DiffBackend/src/results-generator.lisp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#:get-stats-res
99
#:get-json-comments
1010
#:get-lexer-errors-msgs-json
11+
#:get-parser-error-msg-json
1112
#:get-lexems-json))
1213

1314
(in-package :diff-backend/results-generator)
@@ -43,6 +44,11 @@
4344
lexer-errors-msgs
4445
stream))
4546

47+
(defun get-parser-error-msg-json (parser-error-msg stream)
48+
(encode-json
49+
parser-error-msg
50+
stream))
51+
4652
(defun get-lexems-json (lexems stream)
4753
(encode-json
4854
lexems

0 commit comments

Comments
 (0)