diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-09-05 13:18:00 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2020-10-12 18:20:19 +0900 |
| commit | 932b93fd12a3da6748b21ce74caf998a6d97cdbd (patch) | |
| tree | 39d00b00589986ab20911f7141d9a9ed4dbc60c6 /Rakefile | |
| parent | a4c5824e59c66a1132f38e1faf21926ddef58ca6 (diff) | |
| download | mruby-932b93fd12a3da6748b21ce74caf998a6d97cdbd.tar.gz mruby-932b93fd12a3da6748b21ce74caf998a6d97cdbd.zip | |
Skip C comments from scan target; close #5072
The original PR was skipping Ruby comments as well, but caused some
issues in test suites.
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -163,6 +163,7 @@ op_table = { file presym_file => cfiles+rbfiles+psfiles+[__FILE__] do csymbols = cfiles.map do |f| src = File.read(f) + src.gsub!(/\/\/.+(\n|$)/, "\n") [src.scan(/intern_lit\([^\n"]*"([^\n "]*)"/), src.scan(/mrb_define_method\([^\n"]*"([^\n"]*)"/), src.scan(/mrb_define_class_method\([^\n"]*"([^\n"]*)"/), |
