From 5701d747d4a44ffa49b9ebe80cbfe9f1ff738251 Mon Sep 17 00:00:00 2001 From: Rangi42 Date: Tue, 2 Sep 2025 14:39:28 -0400 Subject: [PATCH] Document the stricter rules for lexing underscores in integer constants --- man/rgbasm-old.5 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/man/rgbasm-old.5 b/man/rgbasm-old.5 index 894bff42..86624bd7 100644 --- a/man/rgbasm-old.5 +++ b/man/rgbasm-old.5 @@ -371,7 +371,7 @@ Deprecated in 1.0.0. .Pp Instead, use .Dl -Wno-overwrite . -.Ss rgbgfx -h +.Ss rgbgfx -h/--horizontal Removed in 0.6.0. .Pp Instead, use @@ -491,6 +491,13 @@ Instead, use .Ql Label: and .Ql Label:: . +.Ss Extra underscores in integer constants +Fixed in 1.0.0. +.Pp +Underscores, the optional digit separators in integer constants, used to allow more than one in sequence, or trailing without digits on either side. +Now only one underscore is allowed between two digits, or between the base prefix and a digit, or between a digit and the +.Ql q +fixed-point precision suffix. .Ss ADD r16 with implicit first HL operand Fixed in 0.5.0. .Pp