From 31548a6e6dcc837ec8b36c4e5b2d82883c2544a8 Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Sun, 1 Sep 2013 13:53:01 +0000 Subject: [PATCH] Fixed infinine loop bug when the dot was the last character in the file --- stdx/d/lexer.d | 1 + 1 file changed, 1 insertion(+) diff --git a/stdx/d/lexer.d b/stdx/d/lexer.d index e96a6ae..7bc8618 100644 --- a/stdx/d/lexer.d +++ b/stdx/d/lexer.d @@ -497,6 +497,7 @@ L_advance: { current.type = TokenType.dot; current.value = tokenValue!(TokenType.dot); + nextCharNonLF(); return; } switch (src.peek())