aboutsummaryrefslogtreecommitdiff
path: root/neb/lexer.py
diff options
context:
space:
mode:
Diffstat (limited to 'neb/lexer.py')
-rw-r--r--neb/lexer.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/neb/lexer.py b/neb/lexer.py
index 6962b5e..913a029 100644
--- a/neb/lexer.py
+++ b/neb/lexer.py
@@ -56,7 +56,8 @@ def lex(data):
elif char == ":":
tokens.append(Token(TokenType.COLON, ":", None, line))
# numbers
- elif char in DIGITS or char == ".":
+ #elif char in DIGITS or char == ".":
+ elif char in DIGITS:
tok, length = get_number(data[current:], line)
tokens.append(tok)
current += length