We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13e9b40 commit d6efff7Copy full SHA for d6efff7
ext/ffi/ffi_parser.c
@@ -255,7 +255,7 @@ size_t yy_escape(char *buf, unsigned char ch)
255
case '\"': buf[0] = '\\'; buf[1] = '\"'; return 2;
256
case '\a': buf[0] = '\\'; buf[1] = '\a'; return 2;
257
case '\b': buf[0] = '\\'; buf[1] = '\b'; return 2;
258
- case 27: buf[0] = '\\'; buf[1] = '\e'; return 2;
+ case 27: buf[0] = '\\'; buf[1] = 27; return 2;
259
case '\f': buf[0] = '\\'; buf[1] = '\f'; return 2;
260
case '\n': buf[0] = '\\'; buf[1] = '\n'; return 2;
261
case '\r': buf[0] = '\\'; buf[1] = '\r'; return 2;
0 commit comments