diff --git a/cs_util.cc b/cs_util.cc index 667afa00..0af7c9cb 100644 --- a/cs_util.cc +++ b/cs_util.cc @@ -7,7 +7,7 @@ namespace cscript { static inline void p_skip_white(ostd::ConstCharRange &v) { - while (!v.empty() && isspace(v.front())) { + while (!v.empty() && isspace(*v)) { ++v; } }