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
b3db34c2
Unverified
Commit
b3db34c2
authored
May 12, 2020
by
Yukihiro "Matz" Matsumoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove `presym` files before writing just to make sure.
parent
6b7c12f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Rakefile
Rakefile
+2
-0
No files found.
Rakefile
View file @
b3db34c2
...
...
@@ -131,6 +131,7 @@ file presym_file => cfiles+rbfiles do
symbols
=
(
csymbols
+
rbsymbols
).
flatten
.
uniq
.
sort
presyms
=
File
.
readlines
(
presym_file
,
chomp:
true
)
rescue
[]
if
presyms
!=
symbols
rm_f
presym_file
File
.
write
(
presym_file
,
symbols
.
join
(
"
\n
"
))
end
end
...
...
@@ -138,6 +139,7 @@ end
presym_inc
=
presym_file
+
".inc"
file
presym_inc
=>
presym_file
do
presyms
=
File
.
readlines
(
presym_file
,
chomp:
true
)
rm_f
presym_inc
File
.
open
(
presym_inc
,
"w"
)
do
|
f
|
f
.
print
"/* MRB_PRESYM_CSYM(sym, num) - symbol which is valid C id name */
\n
"
f
.
print
"/* MRB_PRESYM_SYM(sym, num) - symbol which is not valid C id */
\n\n
"
...
...
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