This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
#include <utility>
|
||||
#include <cmath>
|
||||
#include <unordered_map>
|
||||
#include <sstream>
|
||||
@@ -175,7 +174,7 @@ namespace Porygon::Parser {
|
||||
this->Next();
|
||||
has_point = true;
|
||||
decimal_index = 0;
|
||||
float_value = int_value;
|
||||
float_value = (double) int_value;
|
||||
length++;
|
||||
continue;
|
||||
default:
|
||||
@@ -296,7 +295,7 @@ namespace Porygon::Parser {
|
||||
|
||||
u16string s = this->_scriptString.substr(start + 1, end - start);
|
||||
std::basic_ostringstream<char16_t> stream;
|
||||
for (int i = 0; i < s.size(); i++) {
|
||||
for (size_t i = 0; i < s.size(); i++) {
|
||||
c = s[i];
|
||||
if (c == '\\') {
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user