Fix reversed #x22 #x27 in STRING_LITERAL
authorGavin Carothers <gavin@carothers.name>
Fri, 15 Jun 2012 13:30:43 -0700
changeset 445 08212af38c35
parent 444 2700cc5630ba
child 446 29054dd3d8aa
Fix reversed #x22 #x27 in STRING_LITERAL
rdf-turtle/turtle.bnf
--- a/rdf-turtle/turtle.bnf	Fri Jun 15 13:29:49 2012 -0700
+++ b/rdf-turtle/turtle.bnf	Fri Jun 15 13:30:43 2012 -0700
@@ -80,9 +80,9 @@
   
 [148s] EXPONENT ::= [eE] [+-]? [0-9]+ 
  
-[149s] STRING_LITERAL1 ::= '"' ( ( [^#x27#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
+[149s] STRING_LITERAL1 ::= '"' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
  
-[150s] STRING_LITERAL2 ::= "'" ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* "'" 
+[150s] STRING_LITERAL2 ::= "'" ( ( [^#x27#x5C#xA#xD]) | ECHAR | UCHAR )* "'" 
  
 [151s] STRING_LITERAL_LONG1 ::= "'''" ( ( "'" | "''" )? ( [^'\] | ECHAR | UCHAR ) )* "'''"