diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-10 19:00:06 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-03-10 19:00:06 +0100 |
commit | 112600774798e53e2ffbab6e0bbbc6fe625bf88b (patch) | |
tree | 012da7541aef321264b091193e9f19f38a708797 /src | |
parent | a0d1231340617ab28a941f723793ad7be242ca0c (diff) | |
download | sciteco-112600774798e53e2ffbab6e0bbbc6fe625bf88b.tar.gz |
added the <"I> conditional for checking a directory separator
* It is still useful to have this in macros since you may want to
work with non-normalized file names.
For instance, env variables (including $SCITECOPATH and $SCITECOCONFIG)
may (and will probably) include backward-slash separators on Windows
Diffstat (limited to 'src')
-rw-r--r-- | src/parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.cpp b/src/parser.cpp index 1514e24..2a83a66 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -1602,6 +1602,10 @@ StateCondCommand::custom(gchar chr) BEGIN_EXEC(&States::start); result = g_ascii_isdigit((gchar)value); break; + case 'I': + BEGIN_EXEC(&States::start); + result = G_IS_DIR_SEPARATOR((gchar)value); + break; case 'S': case 'T': BEGIN_EXEC(&States::start); |