This repository has been archived by the owner on Apr 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
shugo
committed
Jul 1, 2004
1 parent
5a99749
commit 8e9e0ba
Showing
5 changed files
with
32 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
Tue Mar 9 14:16:06 2004 Shugo Maeda <[email protected]> | ||
|
||
* Makefile.in: use $(RUBY) to execute bin2c. | ||
|
||
Tue Mar 9 14:08:19 2004 MOROHOSHI Akihiko <[email protected]> | ||
|
||
* eruby_main.c (proc_args): pass ARGV to scripts. | ||
|
||
Wed Feb 25 13:37:07 2004 U.Nakamura <[email protected]> | ||
|
||
* autoconf.rb: should use RUBY_PLATFORM instead of PLATFORM. | ||
|
||
Wed Dec 24 00:45:29 2003 Shugo Maeda <[email protected]> | ||
|
||
* eruby_main.c (run): call rb_exec_end_proc(). | ||
|
||
Wed Dec 24 00:11:19 2003 Shugo Maeda <[email protected]> | ||
|
||
* version 1.0.5 released. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,7 +160,7 @@ $(MANPAGE): @[email protected] | |
$(RM) $@~ | ||
|
||
eruby_logo.c: @VPATH@eruby_logo.png | ||
$(srcdir)/bin2c $(srcdir)/eruby_logo.png | ||
$(RUBY) $(srcdir)/bin2c $(srcdir)/eruby_logo.png | ||
eruby_lib.@OBJEXT@: @VPATH@eruby_lib.c @[email protected] config.h | ||
eruby_logo.@OBJEXT@: @VPATH@eruby_logo.c @VPATH@eruby_logo.h | ||
eruby_main.@OBJEXT@: @VPATH@eruby_main.c @[email protected] @VPATH@eruby_logo.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* $Id: eruby_main.c,v 1.37 2003/12/23 15:10:54 shugo Exp $ | ||
* $Id$ | ||
* Copyright (C) 2000 ZetaBITS, Inc. | ||
* Copyright (C) 2000 Information-technology Promotion Agency, Japan | ||
* Copyright (C) 2000 Shugo Maeda <[email protected]> | ||
|
@@ -540,7 +540,8 @@ static void proc_args(int argc, char **argv) | |
eruby_filename = "-"; | ||
} | ||
else { | ||
eruby_filename = argv[option_index]; | ||
eruby_filename = argv[option_index++]; | ||
ruby_set_argv(argc - option_index, argv + option_index); | ||
} | ||
} | ||
} | ||
|
@@ -570,6 +571,7 @@ static void run() | |
if (eruby_mode == MODE_FILTER && (RTEST(ruby_debug) || RTEST(ruby_verbose))) { | ||
print_generated_code(stderr, code, 0); | ||
} | ||
rb_exec_end_proc(); | ||
#if RUBY_VERSION_CODE >= 180 | ||
out = RSTRING(rb_stdout)->ptr; | ||
nout = RSTRING(rb_stdout)->len; | ||
|