diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-07-20 23:25:50 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-07-20 23:26:45 +0200 |
commit | 80bb4fd45a18d5f9ca1da40bbae7732be9730b17 (patch) | |
tree | 244c0338fb75a2d015c13baa26658f9dac2fcd81 /sapi/phpdbg/phpdbg_lexer.l | |
parent | 94fb5391e77d22046569eafddf061b29cec07c88 (diff) | |
download | php-git-80bb4fd45a18d5f9ca1da40bbae7732be9730b17.tar.gz |
Fix various Windows issues (e.g. dir separators)
Diffstat (limited to 'sapi/phpdbg/phpdbg_lexer.l')
-rw-r--r-- | sapi/phpdbg/phpdbg_lexer.l | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_lexer.l b/sapi/phpdbg/phpdbg_lexer.l index b9cdc65d22..7fca70f57a 100644 --- a/sapi/phpdbg/phpdbg_lexer.l +++ b/sapi/phpdbg/phpdbg_lexer.l @@ -14,6 +14,7 @@ #define YYGETCONDITION() LEX(state) #define YYCURSOR LEX(cursor) #define YYMARKER LEX(marker) +#define YYCTXMARKER LEX(ctxmarker) #define yyleng LEX(len) #define yytext ((char*) LEX(text)) #undef YYDEBUG @@ -94,7 +95,7 @@ INPUT [^\n\000]+ <NORMAL>[:]{2} { return T_DCOLON; } -<NORMAL>[:]{1} { +<NORMAL>[:]{1}/[^\\] { return T_COLON; } |