diff options
author | nyamatongwe <devnull@localhost> | 2004-07-17 01:39:54 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2004-07-17 01:39:54 +0000 |
commit | 42dc5eadfc23669ecc3ed9bbfdf7b48c08796fa6 (patch) | |
tree | c274f9d6223eaa37634cb979047d7ba0890ddfcd /include/PropSet.h | |
parent | 9e70fe41ad43fda3c1fa1d554334938f9bc1b47f (diff) | |
download | scintilla-mirror-42dc5eadfc23669ecc3ed9bbfdf7b48c08796fa6.tar.gz |
Patch from Bruce Dodson to help with some recursive property definitions,
substituting a blank for the recursive reference rather than leaving it.
Diffstat (limited to 'include/PropSet.h')
-rw-r--r-- | include/PropSet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/PropSet.h b/include/PropSet.h index 2766b542a..afd076c28 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -39,6 +39,7 @@ protected: return ret; } static bool IncludesVar(const char *value, const char *key); + public: PropSet *superPS; PropSet(); @@ -49,7 +50,7 @@ public: void SetMultiple(const char *s); SString Get(const char *key); SString GetExpanded(const char *key); - SString Expand(const char *withVars, int maxExpands=100); + SString Expand(const char *withVars, int maxExpands=100, const char *blankVar=NULL); int GetInt(const char *key, int defaultValue=0); SString GetWild(const char *keybase, const char *filename); SString GetNewExpand(const char *keybase, const char *filename=""); |