diff options
author | sthen <sthen> | 2013-06-03 20:33:17 +0000 |
---|---|---|
committer | sthen <sthen> | 2013-06-03 20:33:17 +0000 |
commit | c30653b1c34cff7ca527e15918595e8bea6941c3 (patch) | |
tree | 3e3ef5003cc6189909ad0f958ffd72dcca57c86f /parse.y | |
parent | 5515a365ba77cec3e7bf9797c3a4cc5e6c5c91ae (diff) | |
parent | 09f327556155b606f108a920c8b8125cdd4f08bd (diff) | |
download | cwm-c30653b1c34cff7ca527e15918595e8bea6941c3.tar.gz cwm-c30653b1c34cff7ca527e15918595e8bea6941c3.tar.xz cwm-c30653b1c34cff7ca527e15918595e8bea6941c3.zip |
cvsimport
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.y b/parse.y index 9e93749..5b88c42 100644 --- a/parse.y +++ b/parse.y @@ -467,13 +467,13 @@ nodigits: } } +/* Similar to other parse.y copies, but also allows '/' in strings */ #define allowed_in_string(x) \ (isalnum(x) || (ispunct(x) && x != '(' && x != ')' && \ x != '{' && x != '}' && x != '<' && x != '>' && \ - x != '!' && x != '=' && x != '/' && x != '#' && \ - x != ',')) + x != '!' && x != '=' && x != '#' && x != ',')) - if (isalnum(c) || c == ':' || c == '_' || c == '*') { + if (isalnum(c) || c == ':' || c == '_' || c == '*' || c == '/') { do { *p++ = c; if ((unsigned)(p-buf) >= sizeof(buf)) { |