diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/lexer/symbol_property.h | 3 | ||||
| -rw-r--r-- | include/util/string.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/lexer/symbol_property.h b/include/lexer/symbol_property.h index 8b05c14..c933605 100644 --- a/include/lexer/symbol_property.h +++ b/include/lexer/symbol_property.h @@ -28,9 +28,6 @@ public: }; inline const unordered_map<string, T_property> symbol_property = { - // non-operator - {"\'", {.enum_type = SINGLE_QUOTATION}}, - {"\"", {.enum_type = SINGLE_QUOTATION}}, // bracket {"(", {.continuable = false, .enum_type = LEFT_BRACKET}}, diff --git a/include/util/string.h b/include/util/string.h index 1c7f812..3f1cb0c 100644 --- a/include/util/string.h +++ b/include/util/string.h @@ -13,5 +13,6 @@ namespace ov4 void string2argv(const std::vector<std::string> &s, char **argv); void argv2string(std::vector<std::string> &s, const char * const * argv); std::string safe_str(const char *s, const char *fallback = ""); +void print_str_hex(const std::string &s); } |
