diff options
author | Sascha Schumann <sas@php.net> | 2001-09-10 11:22:43 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-09-10 11:22:43 +0000 |
commit | 2bbbec107b6d789df4262608948ca45a782b7037 (patch) | |
tree | 139e824e2f57d8a8f0450c9dd079029b9b661558 | |
parent | d5e22e2a295b205b7aa54d1ff461054757acd090 (diff) | |
download | php-git-2bbbec107b6d789df4262608948ca45a782b7037.tar.gz |
A round of "d'ohs" for me, please.
We must not stop scanning after finding a "?", because we
need the information regarding the "#".
-rw-r--r-- | ext/standard/url_scanner_ex.c | 6 | ||||
-rw-r--r-- | ext/standard/url_scanner_ex.re | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 2f410b5152..074557769f 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -1,5 +1,5 @@ -/* Generated by re2c 0.5 on Sun Sep 9 16:51:59 2001 */ -#line 1 "url_scanner_ex.re" +/* Generated by re2c 0.5 on Mon Sep 10 13:21:04 2001 */ +#line 1 "/home/sas/src/php4/ext/standard/url_scanner_ex.re" /* +----------------------------------------------------------------------+ | PHP version 4.0 | @@ -156,7 +156,7 @@ yy3: yy4: yych = *++YYCURSOR; yy5: #line 110 - { sep = separator; goto done; } + { sep = separator; goto scan; } yy6: yych = *++YYCURSOR; yy7: #line 111 diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index 842f6c6246..bae6994633 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -107,7 +107,7 @@ static inline void append_modified_url(smart_str *url, smart_str *dest, smart_st scan: /*!re2c ":" { smart_str_append(dest, url); return; } - "?" { sep = separator; goto done; } + "?" { sep = separator; goto scan; } "#" { bash = p - 1; goto done; } (any\[:?#])+ { goto scan; } */ |