Fix #202, blind attempt, passes tests.

This commit is contained in:
Dimitri Fontaine 2015-04-06 19:47:38 +02:00
parent 77394bd029
commit cb94993064

View File

@ -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 "*/")) "*/")