mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
ISSPACE evaluates its argument multiple times
This commit is contained in:
+2
-1
@@ -3911,7 +3911,8 @@ parse_string(parser_state *p)
|
||||
return tHD_LITERAL_DELIM;
|
||||
}
|
||||
}
|
||||
} while (ISSPACE(c = nextc(p)));
|
||||
c = nextc(p);
|
||||
} while (ISSPACE(c));
|
||||
pushback(p, c);
|
||||
return tLITERAL_DELIM;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user