test: 07-variable-or-doublequete.sh: New failing parse test.
This commit is contained in:
parent
b2f5004eb6
commit
9ac8140cf4
1
check.sh
1
check.sh
|
@ -43,6 +43,7 @@ tests='
|
||||||
07-variable-not-or
|
07-variable-not-or
|
||||||
07-variable-or-slash
|
07-variable-or-slash
|
||||||
07-variable-or-variable
|
07-variable-or-variable
|
||||||
|
07-variable-or-doublequote
|
||||||
|
|
||||||
08-variable-and
|
08-variable-and
|
||||||
08-variable-not-and
|
08-variable-not-and
|
||||||
|
|
|
@ -245,7 +245,7 @@
|
||||||
(('compound compound) (transform compound))
|
(('compound compound) (transform compound))
|
||||||
(('compound compound ...) `(begin ,@(map transform compound)))
|
(('compound compound ...) `(begin ,@(map transform compound)))
|
||||||
|
|
||||||
(('command (word (or "." "source")) file-name)
|
(('command ('word (or "." "source")) file-name)
|
||||||
`(source ,(transform file-name)))
|
`(source ,(transform file-name)))
|
||||||
(('command word ... ('io-redirect ('io-here "<<" ('io-here-document string))))
|
(('command word ... ('io-redirect ('io-here "<<" ('io-here-document string))))
|
||||||
`(pipeline (cut display ,string) (command ,@word)))
|
`(pipeline (cut display ,string) (command ,@word)))
|
||||||
|
@ -281,5 +281,7 @@
|
||||||
(('function name body)
|
(('function name body)
|
||||||
`(function ,name (lambda ( . args) ,(transform body))))
|
`(function ,name (lambda ( . args) ,(transform body))))
|
||||||
|
|
||||||
|
(('word 'delim) '(word ""))
|
||||||
|
|
||||||
((h t ...) (map transform o))
|
((h t ...) (map transform o))
|
||||||
(_ o)))
|
(_ o)))
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
brace-group
|
brace-group
|
||||||
builtin
|
builtin
|
||||||
command
|
command
|
||||||
|
delim
|
||||||
doublequotes
|
doublequotes
|
||||||
file-name
|
file-name
|
||||||
for-clause
|
for-clause
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
CPPFLAGS=${CPPFLAGS-"
|
||||||
|
-I ${srcdest}src
|
||||||
|
"}
|
||||||
|
echo $CPPFLAGS
|
|
@ -0,0 +1 @@
|
||||||
|
-I src
|
Loading…
Reference in New Issue