Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix Windows build
This commit is contained in:
Dmitry Stogov 2024-07-22 16:41:43 +03:00
commit e4d86998f6
No known key found for this signature in database

View File

@ -255,7 +255,7 @@ size_t yy_escape(char *buf, unsigned char ch)
case '\"': buf[0] = '\\'; buf[1] = '\"'; return 2; case '\"': buf[0] = '\\'; buf[1] = '\"'; return 2;
case '\a': buf[0] = '\\'; buf[1] = '\a'; return 2; case '\a': buf[0] = '\\'; buf[1] = '\a'; return 2;
case '\b': buf[0] = '\\'; buf[1] = '\b'; return 2; case '\b': buf[0] = '\\'; buf[1] = '\b'; return 2;
case 27: buf[0] = '\\'; buf[1] = '\e'; return 2; case 27: buf[0] = '\\'; buf[1] = 27; return 2;
case '\f': buf[0] = '\\'; buf[1] = '\f'; return 2; case '\f': buf[0] = '\\'; buf[1] = '\f'; return 2;
case '\n': buf[0] = '\\'; buf[1] = '\n'; return 2; case '\n': buf[0] = '\\'; buf[1] = '\n'; return 2;
case '\r': buf[0] = '\\'; buf[1] = '\r'; return 2; case '\r': buf[0] = '\\'; buf[1] = '\r'; return 2;