Browse Source

improved error-msg

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@894 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.11
Jan Kneschke 16 years ago
parent
commit
ae4a4143d6
  1. 4
      src/configparser.y

4
src/configparser.y

@ -447,8 +447,8 @@ context ::= DOLLAR SRVVARNAME(B) LBRACKET stringop(C) RBRACKET cond(E) expressio
dc->string = buffer_init_buffer(rvalue);
}
#else
fprintf(stderr, "regex conditionals are not allowed as pcre-support" \
"is missing: $%s[%s]\n",
fprintf(stderr, "can't handle '$%s[%s] =~ ...' as you compiled without pcre support. \n"
"(perhaps just a missing pcre-devel package ?) \n",
B->ptr, C->ptr);
ctx->ok = 0;
#endif

Loading…
Cancel
Save