From ea734dd2344732f1662bd5db305b6a23660e0738 Mon Sep 17 00:00:00 2001 From: Shautvast Date: Fri, 25 Oct 2024 17:38:06 +0200 Subject: [PATCH] get rid of unions2 --- src/parser.hpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/parser.hpp b/src/parser.hpp index fe22fa2..eaea00a 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -60,18 +60,6 @@ public: enum ValueType { String, Numeric, Boolean, Nil } valuetype; Value value; - // union Value { - // double_t numeric; - // bool boolean; - // string str; - // NilType dummy; - - // Value(double_t _numeric) : numeric(_numeric) {} - // Value(bool _boolean) : boolean(_boolean) {} - // Value(string _str) : str(_str) {} - // Value(NilType v) : dummy(v) {} - // ~Value() {} - // } value; Literal(NilType v) : value(v){}; Literal(double_t _numeric) : value(_numeric){};