mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
cvsimport
This commit is contained in:
commit
c30653b1c3
6
parse.y
6
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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user