Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
abdd006d
Unverified
Commit
abdd006d
authored
4 years ago
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strictly speaking `NULL + 0` is a undefined behavior; ref #5157
parent
2d9bf227
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1266 additions
and
1640 deletions
+1266
-1640
mrbgems/mruby-compiler/core/parse.y
mrbgems/mruby-compiler/core/parse.y
+7
-2
mrbgems/mruby-compiler/core/y.tab.c
mrbgems/mruby-compiler/core/y.tab.c
+1259
-1638
No files found.
mrbgems/mruby-compiler/core/parse.y
View file @
abdd006d
...
@@ -6528,8 +6528,13 @@ mrb_parse_file_continue(mrb_state *mrb, FILE *f, const void *prebuf, size_t preb
...
@@ -6528,8 +6528,13 @@ mrb_parse_file_continue(mrb_state *mrb, FILE *f, const void *prebuf, size_t preb
p = mrb_parser_new(mrb);
p = mrb_parser_new(mrb);
if (!p) return NULL;
if (!p) return NULL;
p->s = (const char *)prebuf;
if (prebuf) {
p->send = (const char *)prebuf + prebufsize;
p->s = (const char *)prebuf;
p->send = (const char *)prebuf + prebufsize;
}
else {
p->s = p->send = NULL;
}
p->f = f;
p->f = f;
mrb_parser_parse(p, c);
mrb_parser_parse(p, c);
...
...
This diff is collapsed.
Click to expand it.
mrbgems/mruby-compiler/core/y.tab.c
View file @
abdd006d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment