From 7c4ecdc1dbf75df1a17aa63025068f6f2b88ae99 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Wed, 26 Jul 2017 13:25:01 -0700 Subject: [PATCH] Remove unnecessary pattern. --- src/org/nwapw/abacus/tree/TreeNode.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/org/nwapw/abacus/tree/TreeNode.java b/src/org/nwapw/abacus/tree/TreeNode.java index 58e98b3..45f7741 100644 --- a/src/org/nwapw/abacus/tree/TreeNode.java +++ b/src/org/nwapw/abacus/tree/TreeNode.java @@ -14,7 +14,6 @@ public abstract class TreeNode { * The lexer used to lex tokens. */ private static Lexer lexer = new Lexer(){{ - register(".", TokenType.ANY); register("\\+|-|\\*|/|^", TokenType.OP); register("[0-9]+(\\.[0-9]+)?", TokenType.NUM); register("[a-zA-Z]+", TokenType.WORD);