From a32a61813ebaecf0c1e69fd1481bf09d8c8b1420 Mon Sep 17 00:00:00 2001
From: Eugen Wissner <belka@caraus.de>
Date: Tue, 14 Jul 2026 18:08:44 +0200
Subject: Support more floating point literals

---
 doc/appendix.tex | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'doc/appendix.tex')

diff --git a/doc/appendix.tex b/doc/appendix.tex
index 71b0cc4..36bb72a 100644
--- a/doc/appendix.tex
+++ b/doc/appendix.tex
@@ -35,8 +35,11 @@
 	\alt{} `0' (`X' | `x') <hex-digit> \{<hex-digit>\}
 	\alt{} `0' (`B' | `b') <binary-digit> \{<binary-digit>\}.
 
+<scale-factor> = (`e' | `E') [`+' | `-'] <decimal-digit> \{<decimal-digit>\}.
+
 <real-literal> = <integer-literal> `.\@' <decimal-digit> \{<decimal-digit>\}
-	\alt{} <integer-literal>\} `e' [`+' | `-'] <decimal-digit> \{<decimal-digit>\}.
+		[<scale-factor>]
+	\alt{} <integer-literal> <scale-factor>.
 
 <character-literal> = `\textquotesingle' <character> `\textquotesingle'.
 
-- 
cgit v1.2.3

