summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.17
1 files changed, 4 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 6ef3db2d..e9bf5832 100644
--- a/txr.1
+++ b/txr.1
@@ -2652,17 +2652,18 @@ Examples:
9.E19
-.5
+3E+3
+ 1.E5
.cble
Examples which are not floating-point constant tokens:
.cblk
- . ;; consing dot
+ . ;; dot token, not a number
123E ;; the symbol 123E
1.0E- ;; syntax error: invalid floating point constant
1.0E ;; syntax error: invalid floating point constant
- 1.E ;; 1; consing dot; symbol E
- .e ;; consing dot followed by symbol e
+ 1.E ;; syntax error: invalid floating point literal
+ .e ;; syntax error: dot token followed by symbol
.cble
In \*(TX there is a special "dotdot" token consisting of two consecutive periods.