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
5c8e184f
Unverified
Commit
5c8e184f
authored
Nov 06, 2021
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Nov 06, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5437 from dearblue/parse.y
Run the task only once when `parse.y` is updated
parents
c3a1456c
66a55fb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mrbgems/mruby-compiler/mrbgem.rake
mrbgems/mruby-compiler/mrbgem.rake
+5
-2
No files found.
mrbgems/mruby-compiler/mrbgem.rake
View file @
5c8e184f
...
...
@@ -12,18 +12,21 @@ MRuby::Gem::Specification.new 'mruby-compiler' do |spec|
end
end
build
.
libmruby_core_objs
<<
objs
end
if
MRuby
::
Build
.
current
.
name
==
"host"
dir
=
__dir__
lex_def
=
"
#{
dir
}
/core/lex.def"
# Parser
file
"
#{
dir
}
/core/y.tab.c"
=>
[
"
#{
dir
}
/core/parse.y"
,
lex_def
]
do
|
t
|
yacc
.
run
t
.
name
,
t
.
prerequisites
.
first
MRuby
.
targets
[
"host"
].
yacc
.
run
t
.
name
,
t
.
prerequisites
.
first
replace_line_directive
(
t
.
name
)
end
# Lexical analyzer
file
lex_def
=>
"
#{
dir
}
/core/keywords"
do
|
t
|
gperf
.
run
t
.
name
,
t
.
prerequisites
.
first
MRuby
.
targets
[
"host"
].
gperf
.
run
t
.
name
,
t
.
prerequisites
.
first
replace_line_directive
(
t
.
name
)
end
...
...
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