Correct NumericLiteral
authorGavin Carothers <gavin@carothers.name>
Fri, 15 Jun 2012 14:26:23 -0700
changeset 450 dc23eedd2f9f
parent 449 e2a5899019ab
child 451 9b0e21fe1153
Correct NumericLiteral
rdf-turtle/turtle.bnf
--- a/rdf-turtle/turtle.bnf	Fri Jun 15 14:14:27 2012 -0700
+++ b/rdf-turtle/turtle.bnf	Fri Jun 15 14:26:23 2012 -0700
@@ -33,21 +33,10 @@
 [15] blankNodePropertyList ::= "[" predicateObjectList "]" 
  
 [16] collection ::= "(" object* ")" 
- 
+[17] NumericLiteral ::= INTEGER | DECIMAL | DOUBLE 
+
 [60s] RDFLiteral ::= String ( LANGTAG | ( "^^" iri ) )? 
  
-[61s] NumericLiteral ::= NumericLiteralUnsigned 
- | NumericLiteralPositive 
- | NumericLiteralNegative 
-[62s] NumericLiteralUnsigned ::= INTEGER 
- | DECIMAL 
- | DOUBLE 
-[63s] NumericLiteralPositive ::= INTEGER_POSITIVE 
- | DECIMAL_POSITIVE 
- | DOUBLE_POSITIVE 
-[64s] NumericLiteralNegative ::= INTEGER_NEGATIVE 
- | DECIMAL_NEGATIVE 
- | DOUBLE_NEGATIVE 
 [65s] BooleanLiteral ::= "true" 
  | "false" 
 [66s] String ::= STRING_LITERAL1