xml.syntax: parse <-variable->s with parse-word instead of search so the no-word error gets properly raised when variable doesn't exist

db4
Joe Groff 2010-06-08 12:18:06 -07:00
parent 90537038ea
commit dd71d20e4e
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ MACRO: interpolate-xml ( xml -- quot )
] each-interpolated drop ;
: >search-hash ( seq -- hash )
[ dup search ] H{ } map>assoc ;
[ dup parse-word ] H{ } map>assoc ;
: extract-variables ( xml -- seq )
[ [ var>> , ] each-interpolated ] { } make ;