aboutsummaryrefslogtreecommitdiff
path: root/src/lexer/symbol_property.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexer/symbol_property.cc')
-rw-r--r--src/lexer/symbol_property.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/lexer/symbol_property.cc b/src/lexer/symbol_property.cc
deleted file mode 100644
index c78dd61..0000000
--- a/src/lexer/symbol_property.cc
+++ /dev/null
@@ -1,29 +0,0 @@
-#include "lexer/symbol_property.h"
-
-#include <string>
-
-#include "lexer/enum_type.h"
-
-using namespace std;
-
-namespace ov4
-{
-
-string symbol_enum2string(enum_token_type e)
-{
- for (auto &c : symbol_property)
- {
- // pair<string, T_property>
-
- if (c.second.enum_type == e)
- return c.first;
- }
- return "";
-}
-
-bool symbol_contains_enum_type(enum_token_type e)
-{
- return (symbol_enum2string(e) == "") ? false : true;
-}
-
-}