Changeset 19582 for trunk/FACT++
- Timestamp:
- 09/01/19 11:18:48 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/InterpreterV8.cc
r19456 r19582 750 750 const auto f = path.is_absolute() ? path : boost::filesystem::path(fIncludePath)/path; 751 751 752 izstream fin( f.string().c_str());752 izstream fin(*file);//f.string().c_str()); 753 753 if (!fin) 754 754 return ThrowException(String::New(errno!=0?strerror(errno):"Insufficient memory for decompression")); … … 789 789 const auto f = path.is_absolute() ? path : boost::filesystem::path(fIncludePath)/path; 790 790 791 izstream fin( f.string().c_str());791 izstream fin(*file);//f.string().c_str()); 792 792 if (!fin) 793 793 return ThrowException(String::New(errno!=0?strerror(errno):"Insufficient memory for decompression")); … … 2607 2607 "}" 2608 2608 "" 2609 "val = typeof(val)=='object' ? JSON.stringify(val) : val.toString(base);"2609 "val = val==undefined || typeof(val)=='object' ? JSON.stringify(val) : val.toString(base);" 2610 2610 "" 2611 2611 "var sz = parseInt(p1); /* padding size */" … … 2813 2813 else 2814 2814 { 2815 fIncludePath = boost::filesystem::path(filename).parent_path().string();2816 2817 2815 // We call script->Run because it is the only way to 2818 2816 // catch exceptions.
Note:
See TracChangeset
for help on using the changeset viewer.