mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-21 10:28:50 +08:00
add io lib & bug fixed
This commit is contained in:
@@ -19,6 +19,8 @@
|
||||
#include <vector>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
inline double hex_to_double(const char* str)
|
||||
{
|
||||
double ret=0;
|
||||
@@ -99,7 +101,7 @@ double str2num(const char* str)
|
||||
return is_negative?-ret_num:ret_num;
|
||||
}
|
||||
|
||||
std::string raw_string(const std::string& str)
|
||||
std::string rawstr(const std::string& str)
|
||||
{
|
||||
std::string ret("");
|
||||
for(auto i:str)
|
||||
|
||||
Reference in New Issue
Block a user