diff --git a/doc/RFC.md b/doc/RFC.md index 08fb6dd..1a6b395 100644 --- a/doc/RFC.md +++ b/doc/RFC.md @@ -48,8 +48,8 @@ the gist of it: |string| color| FFFFFF (hex) | #fog=5m,FFAACC | |string| | | #q=-sun | |int | | [-]x[xxxxx] | #price:>=100 | -|float | | [-]x[.xxxx] (ieee)| #prio=-20 -|array | mixed| \|-separated | #pos=0,0,0|90,0,0 | +|float | | [-]x[.xxxx] (ieee)| #prio=-20 | +|array | mixed| \|-separated | #pos=0,0,0\|90,0,0 | > rule for thumb: type-limitations will piggyback JSON limitations (IEEE floatsize e.g.) diff --git a/src/xrfragment/Parser.hx b/src/xrfragment/Parser.hx index 6ee9462..cc5484a 100644 --- a/src/xrfragment/Parser.hx +++ b/src/xrfragment/Parser.hx @@ -63,8 +63,8 @@ class Value { // | public var color:String; // |string| color| FFFFFF (hex) | #fog=5m,FFAACC | public var string:String; // |string| | | #q=-sun | public var int:Int; // |int | | [-]x[xxxxx] | #price:>=100 | - public var float:Float; // |float | | [-]x[.xxxx] (ieee)| #prio=-20 - public var args:Array; // |array | mixed| \|-separated | #pos=0,0,0|90,0,0 | + public var float:Float; // |float | | [-]x[.xxxx] (ieee)| #prio=-20 | + public var args:Array; // |array | mixed| \|-separated | #pos=0,0,0\|90,0,0 | public function new(){} // // > rule for thumb: type-limitations will piggyback JSON limitations (IEEE floatsize e.g.) }