summaryrefslogtreecommitdiff
path: root/prism
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-02-08 13:56:05 -0500
committerKevin Newton <kddnewton@gmail.com>2024-02-08 14:36:29 -0500
commit3ecfc3e33ef7db8e9f855490910077ac7ed13434 (patch)
tree247da8ee2c21d7e9cd859fec9f9167a772676fc9 /prism
parent1936278461cf9aec1495596bf25a2963721f21ee (diff)
[PRISM] Support the DATA constant
Diffstat (limited to 'prism')
-rw-r--r--prism/prism.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/prism/prism.c b/prism/prism.c
index 22503fd726..9df29a2de5 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -17791,6 +17791,7 @@ pm_parser_init(pm_parser_t *parser, const uint8_t *source, size_t size, const pm
.current = { .type = PM_TOKEN_EOF, .start = source, .end = source },
.next_start = NULL,
.heredoc_end = NULL,
+ .data_loc = { .start = NULL, .end = NULL },
.comment_list = { 0 },
.magic_comment_list = { 0 },
.warning_list = { 0 },