updated yack grammar
authorLuc Moreau <l.moreau@ecs.soton.ac.uk>
Thu, 10 May 2012 15:08:57 +0100
changeset 2751 f98907e32dfc
parent 2750 cc90ca4628bd
child 2752 6952372704f6
updated yack grammar
model/grammar/yack/prov-n.bnf
--- a/model/grammar/yack/prov-n.bnf	Thu May 10 15:02:25 2012 +0100
+++ b/model/grammar/yack/prov-n.bnf	Thu May 10 15:08:57 2012 +0100
@@ -137,7 +137,7 @@
 
 
 
-[13] literal ::= StringLiteral | INTLITERAL | StringLiteral "%%" datatype
+[13] literal ::= StringLiteral | QUALNAME_LITERAL | INTLITERAL | StringLiteral "%%" datatype
 
 datatype::= IRI_REF | QUALNAME
 
@@ -173,6 +173,8 @@
  
 [149s] STRING_LITERAL ::= '"' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
 
+[149s] QUALNAME_LITERAL ::= ''' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* ''' 
+
 
  
 [19] UCHAR ::= ( "\\u" HEX HEX HEX HEX )