From b4b84585be9ccc3539f5b68c9f9e55200a296714 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Tue, 22 Apr 2014 23:24:39 -0700 Subject: [PATCH] Bugzilla 12623 --- lex.dd | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lex.dd b/lex.dd index ea2d8b7e7f..1c56647765 100644 --- a/lex.dd +++ b/lex.dd @@ -60,10 +60,13 @@ $(H3 Source Text) technique, i.e., the lexical analyzer tries to make the longest token it can. For example $(D >>) is a right shift token, - not two greater than tokens. An exception to this rule is that a $(D ..) - embedded inside what looks like two floating point literals, as in - $(D 1..2), is interpreted as if the $(D ..) was separated by a space from the - first integer. + not two greater than tokens. There are two exceptions to this rule: + $(UL + $(LI A $(D ..) embedded inside what looks like two floating point + literals, as in $(D 1..2), is interpreted as if the $(D ..) was + separated by a space from the first integer.) + $(LI A $(D 1.a) is interpreted as the three tokens $(D 1), $(D .), and $(D a), + while $(D 1. a) is interpreted as the two tokens $(D 1.) and $(D a)) ) $(H3 Character Set)