Remove extra ()s, note not fixed in generated HTML
authorGavin Carothers <gavin@carothers.name>
Fri, 15 Jun 2012 13:40:24 -0700
changeset 446 29054dd3d8aa
parent 445 08212af38c35
child 447 3893f09d3313
Remove extra ()s, note not fixed in generated HTML
rdf-turtle/turtle.bnf
--- a/rdf-turtle/turtle.bnf	Fri Jun 15 13:30:43 2012 -0700
+++ b/rdf-turtle/turtle.bnf	Fri Jun 15 13:40:24 2012 -0700
@@ -1,4 +1,4 @@
-[1] turtleDoc ::= (statement)* 
+[1] turtleDoc ::= statement* 
  
 [2] statement ::= directive "." 
  | triples "." 
@@ -74,15 +74,15 @@
 [19] LANGTAG ::= "@" [a-zA-Z]+ ( "-" [a-zA-Z0-9]+ )* 
 [20] INTEGER ::= [+-]? [0-9]+
  
-[21] DECIMAL ::= ([+-])?  ( ([0-9])* '.' ([0-9])+  )
-[22] DOUBLE ::= ([+-])? ( [0-9]+ '.' [0-9]* EXPONENT | '.' ([0-9])+ EXPONENT | ([0-9])+ 
+[21] DECIMAL ::= [+-]?  ( ([0-9])* '.' ([0-9])+  )
+[22] DOUBLE ::= [+-]? ( [0-9]+ '.' [0-9]* EXPONENT | '.' ([0-9])+ EXPONENT | ([0-9])+ 
 EXPONENT )
   
 [148s] EXPONENT ::= [eE] [+-]? [0-9]+ 
  
-[149s] STRING_LITERAL1 ::= '"' ( ( [^#x22#x5C#xA#xD]) | ECHAR | UCHAR )* '"' 
+[149s] STRING_LITERAL1 ::= '"' ( [^#x22#x5C#xA#xD] | ECHAR | UCHAR )* '"' 
  
-[150s] STRING_LITERAL2 ::= "'" ( ( [^#x27#x5C#xA#xD]) | ECHAR | UCHAR )* "'" 
+[150s] STRING_LITERAL2 ::= "'" ( [^#x27#x5C#xA#xD] | ECHAR | UCHAR )* "'" 
  
 [151s] STRING_LITERAL_LONG1 ::= "'''" ( ( "'" | "''" )? ( [^'\] | ECHAR | UCHAR ) )* "'''" 
  
@@ -93,11 +93,11 @@
 
 [153s] ECHAR ::= "\" [tbnrf\"'] 
  
-[154s] NIL ::= "(" (WS)* ")" 
+[154s] NIL ::= "(" WS* ")" 
  
 [155s] WS ::= #x20 | #x9 | #xD | #xA
 
-[156s] ANON ::= "[" (WS)* "]" 
+[156s] ANON ::= "[" WS* "]" 
  
 [157s] PN_CHARS_BASE ::= [A-Z] 
  | [a-z]