Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 3b45b9d

Browse files
committed
Merge branch 'PHP-8.4'
* PHP-8.4: Fix -Wuseless-escape warnings emitted by re2c (#19050)
2 parents c2af281 + ab6e730 commit 3b45b9d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

‎Zend/zend_ini_scanner.l‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,16 +352,16 @@ restart:
352352
/*!re2c
353353
re2c:yyfill:check = 0;
354354
LNUM [0-9]+
355-
DNUM ([0-9]*[\.][0-9]+)|([0-9]+[\.][0-9]*)
355+
DNUM ([0-9]*[.][0-9]+)|([0-9]+[.][0-9]*)
356356
NUMBER [-]?{LNUM}|{DNUM}
357357
ANY_CHAR (.|[\n\t])
358358
NEWLINE ("\r"|"\n"|"\r\n")
359359
TABS_AND_SPACES [ \t]
360360
WHITESPACE [ \t]+
361361
CONSTANT [a-zA-Z_][a-zA-Z0-9_]*
362-
LABEL_CHAR [^=\n\r\t;&|^$~(){}!"\[\]\x00]
362+
LABEL_CHAR [^=\n\r\t;&|^$~(){}!"[\]\x00]
363363
LABEL ({LABEL_CHAR}+)
364-
TOKENS [:,.\[\]"'()&|^+-/*=%$!~<>?@{}]
364+
TOKENS [:,.[\]"'()&|^+-/*=%$!~<>?@{}]
365365
OPERATORS [&|^~()!]
366366
DOLLAR_CURLY "${"
367367

‎Zend/zend_language_scanner.l‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1817,11 +1817,11 @@ OPTIONAL_WHITESPACE_OR_COMMENTS ({WHITESPACE}|{MULTI_LINE_COMMENT}|{SINGLE_LINE_
18171817
RETURN_TOKEN(T_MUL_EQUAL);
18181818
}
18191819

1820-
<ST_IN_SCRIPTING>"*\*" {
1820+
<ST_IN_SCRIPTING>"**" {
18211821
RETURN_TOKEN(T_POW);
18221822
}
18231823

1824-
<ST_IN_SCRIPTING>"*\*=" {
1824+
<ST_IN_SCRIPTING>"**=" {
18251825
RETURN_TOKEN(T_POW_EQUAL);
18261826
}
18271827

‎sapi/phpdbg/phpdbg_lexer.l‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ T_IF 'if'
7777
T_RUN 'run'
7878
T_RUN_SHORT "r"
7979
WS [ \r\t]+
80-
DIGITS [-]?[0-9\.]+
80+
DIGITS [-]?[0-9.]+
8181
ID [^ \r\n\t:#000円]+
8282
GENERIC_ID ([^ \r\n\t:#000円"']|":\\")+|["]([^\n000円"\\]|"\\\\"|"\\"["])+["]|[']([^\n000円'\\]|"\\\\"|"\\"['])+[']
8383
ADDR [0][x][a-fA-F0-9]+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /