diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-10-10 18:33:55 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-10-10 18:33:55 +0200 |
commit | 2c683102be85b0ee9c03c85ddcf5d7fd0f004ab7 (patch) | |
tree | f34f1a7ea05a6bb6d8f192e9f86ca8b3a22d51be /kernel/yosys.h | |
parent | 986bcc13cbe6a085aa826e87f9d56bde22c7e521 (diff) | |
download | yosys-2c683102be85b0ee9c03c85ddcf5d7fd0f004ab7.tar.gz yosys-2c683102be85b0ee9c03c85ddcf5d7fd0f004ab7.tar.bz2 yosys-2c683102be85b0ee9c03c85ddcf5d7fd0f004ab7.zip |
Added next_token() function (strtok() replacement)
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index a796dd09f..919e3bb98 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -84,7 +84,7 @@ namespace RTLIL { std::string stringf(const char *fmt, ...) __attribute__ ((format (printf, 1, 2))); std::string vstringf(const char *fmt, va_list ap); - +std::string next_token(std::string &text, const char *sep); bool patmatch(const char *pattern, const char *string); template<typename T> int GetSize(const T &obj) { return obj.size(); } |