summaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index 140e320fe..b6dbcd7c2 100644
--- a/parse.y
+++ b/parse.y
@@ -9222,7 +9222,7 @@ parser_initialize(struct parser_params *parser)
#ifdef YYMALLOC
parser->heap = NULL;
#endif
- parser->enc = rb_ascii8bit_encoding();
+ parser->enc = rb_usascii_encoding();
}
extern void rb_mark_source_filename(char *);