From 454d304df6b2dca2f13078aa0edac4bc31d8041e Mon Sep 17 00:00:00 2001 From: Leon van Kammen Date: Fri, 31 Mar 2023 19:27:56 +0200 Subject: [PATCH] update documentation --- doc/RFC.md | 4 ++-- src/xrfragment/Parser.hx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.) }