nobu
e668e36b49
* template/{encdb,transdb}.h.tmpl: moved enc/make_encdb.rb and
...
enc/trans/make_transdb.rb using tool/generic_erb.rb.
* common.mk (encdb.h, transdb.h): generates from avobe template.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-13 09:05:29 +00:00
nobu
b8db90f35a
* template/id.h.tmpl, id.h (ruby_method_ids_check): enclosed in a
...
struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 20:53:06 +00:00
nobu
934525776f
* template/id.h.tmpl, id.h (ruby_method_ids): not depend on if
...
token are defined as macros. [ruby-dev:37553]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-24 20:05:12 +00:00
nobu
13aaff3e9f
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
...
[ruby-dev:37436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-15 06:13:24 +00:00
nobu
001d393019
* id.h, include/ruby/{intern,oniguruma}.h, regenc.h, regparse.h,
...
template/*.tmpl: removed trailing garbage spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09 07:14:13 +00:00
nobu
fe867f47ac
* cont.c (fiber_status), template/insns.inc.tmpl (ruby_vminsn_type),
...
vm_insnhelper.h (BOP): ISO C forbids comma at end of enumerator
list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-09 04:25:54 +00:00
nobu
1da55b38fa
* error.c (Init_syserr): moved function definition itself from
...
template/known_errors.inc.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 17:39:33 +00:00
nobu
3093546f1f
* id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-24 12:50:35 +00:00
nobu
de85d6e92e
* common.mk (srcs): removed ID_H_TARGET.
...
* tool/generic_erb.rb: always overwrites if no if-change option.
* template/id.h.tmpl: shows which token differs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-19 12:12:53 +00:00
nobu
26b3c7a0f3
* id.h: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 11:56:11 +00:00
nobu
b025ce4678
* common.mk (ID_H_TARGET): phony target to update id.h.
...
* tool/ifchange, win32/ifchange.bat: --timestamp option added.
* tool/generic_erb.rb: --timestamp, --output and --if-change options
added.
* template/id.h.tmpl: moved from id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-17 10:46:23 +00:00
knu
3a5c011b8e
Fix typos in comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 09:05:33 +00:00
yugui
16c95b42ce
* error.c (Init_syserr): moved to the template.
...
(errno_missing): removed. fixed [ruby-dev:35958].
* defs/knwon_errors.def: added. extracted from Init_syserr.
* templates/known_errors.inc.tmpl: added. Template for Init_syserr.
c.f. [ruby-dev:35958].
* tools/generic_erb.rb: added. general purpose mapper which maps
data+template into source code.
* common.mk (error.$(OBJEXT), incs, known_errors.inc):
Fixed dependencies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-26 08:18:49 +00:00
nobu
9ddb37f071
* compile.c (struct iseq_link_element, struct iseq_insn_data): made
...
enum for debuggers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-20 05:58:59 +00:00
nobu
5c1926ac82
* compile.c (iseq_set_sequence, iseq_insns_unification,
...
insn_data_to_s_detail): constified.
* iseq.c (insn_operand_intern, ruby_iseq_disasm_insn): ditto.
* template/{insns_info,opt_sc,optunifs}.inc.tmpl: ditto.
* tool/instruction.rb (OptUnifsIncGenerator): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-04-03 00:00:48 +00:00
naruse
a10ded3ba0
* bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend,
...
instruby.rb, lib/mkmf.rb, lib/test/unit/util/procwrapper.rb,
mkconfig.rb, sample/test.rb, template/vm.inc.tmpl,
test/ruby/test_stringchar.rb: fixes arround String#gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-02-12 06:28:23 +00:00
ko1
3688c7a1ee
* tool/makedocs.rb, template/insnstbl.html: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13 22:09:43 +00:00
nobu
aa071a3b26
* compile.c (make_masgn_lhs, iseq_compile_each): fixed indent.
...
* compile.c (iseq_translate_threaded_code),
vm_evalbody.ci (get_insns_address_table),
template/vmtc.inc.tmpl (insns_address_table): constified.
* vm_evalbody.ci (vm_eval),
template/insns_info.inc.tmpl (insn_stack_increase, insn_ret_num):
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-23 06:48:28 +00:00
ko1
99b51f6020
* template/yasmdata.rb.tmpl: fix type and name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-08-12 19:02:30 +00:00
ko1
6b6bf4dd48
* blockinlining.c: remove "yarv" prefix.
...
* array.c, numeric.c: ditto.
* insnhelper.ci, insns.def, vm_evalbody.ci: ditto.
* yarvcore.c: removed.
* yarvcore.h: renamed to core.h.
* cont.c, debug.c, error.c, process.c, signal.c : ditto.
* ext/probeprofiler/probeprofiler.c: ditto.
* id.c, id.h: added.
* inits.c: ditto.
* compile.c: rename internal functions.
* compile.h: fix debug flag.
* eval.c, object.c, vm.c: remove ruby_top_self.
use rb_vm_top_self() instead.
* eval_intern.h, eval_load: ditto.
* gc.c: rename yarv_machine_stack_mark() to
rb_gc_mark_machine_stack().
* insnhelper.h: remove unused macros.
* iseq.c: add iseq_compile() to create iseq object
from source string.
* proc.c: rename a internal function.
* template/insns.inc.tmpl: remove YARV prefix.
* thread.c:
* vm.c (rb_iseq_eval): added.
* vm.c: move some functions from yarvcore.c.
* vm_dump.c: fix to remove compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-12 04:25:46 +00:00
ko1
9c708baa2d
* eval_intern.h, yarvcore.h: move declaration of sysstack_error
...
to yarvcore.h.
* iseq.c: fix symbol name (:toplevel -> :top).
* lib/vm/instruction.rb, template/vm.inc.tmpl: replacable
current file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-01 23:57:04 +00:00
nobu
c1f5d22719
* *.def, proc.c, vm_opts.h.base, template/*: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02 15:21:41 +00:00
ko1
a3e1b1ce7e
* Merge YARV
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00