mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-09 07:47:00 +02:00
Fix the fix for parsing quoted-filenames.
This commit is contained in:
parent
b5c89e750c
commit
b758058208
@ -380,7 +380,10 @@
|
||||
(list :filename (parse-namestring (coerce f 'string)))))
|
||||
|
||||
(defrule quoted-filename (and #\' (+ (not #\')) #\')
|
||||
(:destructure (open f close) (declare (ignore open close)) (text f)))
|
||||
(:lambda (q-f)
|
||||
(destructuring-bind (open f close) q-f
|
||||
(declare (ignore open close))
|
||||
(list :filename (parse-namestring (coerce f 'string))))))
|
||||
|
||||
(defrule maybe-quoted-filename (or quoted-filename filename)
|
||||
(:identity t))
|
||||
|
Loading…
Reference in New Issue
Block a user