mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added next_token() function (strtok() replacement)
This commit is contained in:
parent
986bcc13cb
commit
2c683102be
2 changed files with 19 additions and 2 deletions
|
@ -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(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue