Skip to content

Commit d6efff7

Browse files
committed
Fix Windows build
1 parent 13e9b40 commit d6efff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/ffi/ffi_parser.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ size_t yy_escape(char *buf, unsigned char ch)
255255
case '\"': buf[0] = '\\'; buf[1] = '\"'; return 2;
256256
case '\a': buf[0] = '\\'; buf[1] = '\a'; return 2;
257257
case '\b': buf[0] = '\\'; buf[1] = '\b'; return 2;
258-
case 27: buf[0] = '\\'; buf[1] = '\e'; return 2;
258+
case 27: buf[0] = '\\'; buf[1] = 27; return 2;
259259
case '\f': buf[0] = '\\'; buf[1] = '\f'; return 2;
260260
case '\n': buf[0] = '\\'; buf[1] = '\n'; return 2;
261261
case '\r': buf[0] = '\\'; buf[1] = '\r'; return 2;

0 commit comments

Comments
 (0)