Added ability for ifNextInclude and changed data type on isCaracter to ZString.

This commit is contained in:
Brad Arant committed 2024-10-31 15:48:13 -07:00
1 parent 3eb1f5954a
commit f1337c682a
2 files changed
+18 -5

No files matched your search

+8 -1
View File
@@ -201,6 +201,13 @@ namespace coreutils {
///
std::vector<ZString> &split(std::string delimiter, size_t maxSize = 0);
///
/// If ZString cursor is currently pointing to a character in the include
/// string then return true.
///
bool ifNextInclude(ZString include);
///
/// Use getTokenInclude with a list of character to allow the forwarding
@@ -426,7 +433,7 @@ namespace coreutils {
private:
std::stack<char *> stack;
bool isCharacter(char ch, const char *string);
bool isCharacter(char ch, ZString include);
};
}