Skip to content

Commit 32340ba

Browse files
committed
refactor charrepr.h to fix array initialization and update macro name
1 parent 90fe73f commit 32340ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/standard/charrepr.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
+----------------------------------------------------------------------+
1515
*/
1616

17-
#ifndef STRING_H
18-
#define STRING_H
17+
#ifndef CHARREPR_H
18+
#define CHARREPR_H
1919

2020
typedef struct {
2121
const char *repr;
@@ -60,7 +60,7 @@ static const char_repr_t char_reprs[256] = {
6060
{"\\\"", 2},
6161
{"#", 1},
6262
{"$", 1},
63-
{"%%", 1},
63+
{"%", 1},
6464
{"&", 1},
6565
{"\'", 1},
6666
{"(", 1},

0 commit comments

Comments
 (0)