From cb9499306448a315eaf4095a1a64c215efed788a Mon Sep 17 00:00:00 2001 From: Dimitri Fontaine Date: Mon, 6 Apr 2015 19:47:38 +0200 Subject: [PATCH] Fix #202, blind attempt, passes tests. --- src/parsers/command-utils.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parsers/command-utils.lisp b/src/parsers/command-utils.lisp index 5ae9b4a..bf4d0b9 100644 --- a/src/parsers/command-utils.lisp +++ b/src/parsers/command-utils.lisp @@ -13,7 +13,7 @@ ;; ;; Some useful rules ;; -(defrule single-line-comment (and "--" (+ (not #\Newline)) #\Newline) +(defrule single-line-comment (and "--" (* (not #\Newline)) #\Newline) (:constant :comment)) (defrule multi-line-comment (and "/*" (+ (not "*/")) "*/")