Mercurial > hg > may
changeset 391:d178c5617f0c
Subject node type also contains literal
author | Chris Cannam |
---|---|
date | Tue, 24 Sep 2013 11:34:19 +0100 |
parents | f71968c5a035 |
children | b84897a84fe0 |
files | src/may/vamp/vamprdf.yeti |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/may/vamp/vamprdf.yeti Mon Sep 23 14:23:34 2013 +0100 +++ b/src/may/vamp/vamprdf.yeti Tue Sep 24 11:34:19 2013 +0100 @@ -76,6 +76,7 @@ case t of IRI iri: IRI iri; Blank n: Blank n; + Literal lit: failWith "Unexpected literal \"\(lit)\" in subject!"; esac done; iriSubjects = iriTypes . subjects; @@ -265,10 +266,7 @@ p = Known (store.expand "vamp:output"), o = Wildcard () }; array (map do t: - case t.o of - IRI iri: outputDescriptor store (IRI iri); - Blank n: outputDescriptor store (Blank n); - esac + outputDescriptor store t.o; done matches)), });