diff options
author | Teddy <[email protected]> | 2013-08-09 20:11:39 +0800 |
---|---|---|
committer | Teddy <[email protected]> | 2013-08-09 20:11:39 +0800 |
commit | 5eae404fc464674870a73b607a5bdcd8665be27e (patch) | |
tree | 409d7c57305226bdd13779e2553d424556eb9517 | |
parent | 146c9247eddf2b601a7e9e71c472912f5a7faf61 (diff) |
forget to return in `str_to_lower`
-rw-r--r-- | parser.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ string str_to_lower(string str) { for (size_t i = 0; i < len; i++) if ('A' <= str[i] && str[i] <= 'Z') str[i] -= 'A' - 'a'; + return str; } bool Tokenizor::get_token(string &ret) { |