Fix compilation error in gdscript-rx

This commit is contained in:
Nathan Lovato
2020-02-14 21:33:07 -06:00
parent 15042b1f02
commit e9bee17a36

View File

@@ -290,7 +290,7 @@ Return (REGEXP . PRECEDENCE)."
((null (cdr body)) ; Single item.
(rx--translate (car body)))
((rx--every #'stringp body) ; All strings.
(cons (list (regexp-opt body nil t))
(cons (list (regexp-opt body nil))
t))
((rx--every #'rx--charset-p body) ; All charsets.
(rx--translate-union nil body))