ttate
98007267bc
Add Importable::symbol.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27 15:09:47 +00:00
usa
ad8c8144d4
* win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27 14:57:10 +00:00
akr
571ff1d6b9
* lib/prettyprint.rb, lib/pp.rb: convenience methods added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27 12:01:07 +00:00
akr
48fbacb11c
refine previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27 09:30:47 +00:00
akr
e50f2d285f
* lib/prettyprint.rb: re-implemented for incremental output to handle
...
huge data. API is changed a bit.
* lib/pp.rb: adapt new pretty printing API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-27 06:27:20 +00:00
nobu
264d2e4da9
* parse.y (literal_concat_string): non-string last expression in
...
#{} was ignored when followed by literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-26 23:29:10 +00:00
nobu
0fdfc0bbef
* parse.y (words, qwords): word list literal rules.
...
* parse.y (parse_string): ditto.
* parse.y (yylex): %W: word list literal with interpolation. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-26 08:01:00 +00:00
nobu
6037d1cf3d
2002-06-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-25 09:59:03 +00:00
nobu
a97ba8c7f7
* parse.y (string1, xstring, regexp): moved lex_strnest
...
initialization to string_contents/xstring_contents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-25 09:56:36 +00:00
H_Konishi
fb0eb3ccd9
* dln.c: remove definition rb_loaderror().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-25 09:44:57 +00:00
H_Konishi
60eadd77e8
* dln.c: remark definition rb_loaderror().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 15:26:17 +00:00
nobu
e8e3f56b81
* parse.y (string_dvar): allow back references in interpolation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 15:18:00 +00:00
matz
05b4ec8683
* parse.y (yylex): __END__ should not be effective within
...
string literals.
* parse.y (here_document): should be aware of __END__ within here
documents.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 07:59:02 +00:00
nobu
9020b60483
* lib/mkmf.rb (create_makefile): get rid of nested string.
...
* lib/mkmf.rb (install_rb): site-install didn't work properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 07:34:30 +00:00
nobu
33061b45b4
* eval.c (rb_eval): NODE_EVSTR is no longer used.
...
* eval.c (eval): not enforce to make assigned variables dynamic.
* parse.y (string): split rules to strings/xstring/regexp to allow
arbitrary statements inside string interpolation.
* parse.y (here_document): splitted into three phases.
* parse.y (literall_append, literal_concat): added.
append/concatinate string literals.
* sample/test.rb (valid_syntax): adjust line number for BEGIN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-24 07:20:42 +00:00
tadf
0e866a2e51
updated to the new version (based on date2 3.3).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-22 15:26:58 +00:00
nobu
47993929c4
* ext/readline/readline.c (readline_readline): get rid of
...
libreadline's bug. (ruby-bugs-ja:PR#268)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20 12:14:33 +00:00
eban
8d8af5225d
* configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2.
...
* configure.in (__MSVCRT__): removed because it is defined
in the GCC specs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20 10:25:11 +00:00
eban
75c89b7eef
* lib/ftools.rb (compare): don't return with a file opened
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20 08:59:59 +00:00
eban
e97d0b7764
* lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-20 08:21:00 +00:00
eban
fa1f7befa9
* ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem is called.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-19 05:54:24 +00:00
nobu
772f420a18
* parse.y (yylex): ? followed by successive word charaters is
...
ternary operator not numeric literal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 15:53:57 +00:00
nobu
de9251e2c7
* parse.y (yylex): commands after break/next/rescue can take
...
arguments. (ruby-bugs-ja:PR#265)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 15:46:24 +00:00
usa
eecf7fdcde
* win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 10:23:31 +00:00
nobu
1b8b699d9f
unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 07:01:46 +00:00
matz
1979d9ae1f
* parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n',
...
etc, instead.
* parse.y (yylex): no here document after a dot.
* parse.y (yylex): should have set lex_state after '`'.
* parse.y (yylex): should have set lex_state properly after
tOP_ASGN.
* bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 06:29:07 +00:00
nobu
12c00312aa
* parse.y (yylex): should pushback proper char after '<<'.
...
* parse.y (range_op, cond0, cond): get rid of doubled warnings.
* parse.y (value_expr): reduce recursion level.
* parse.y (logop): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-18 03:53:23 +00:00
eban
9c44d6a05c
* dln.c (dln_load): rb_notimplement takes no argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 13:42:15 +00:00
nobu
7ed607e902
2002-06-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 02:00:56 +00:00
nobu
7138dfa325
* dln.c (dln_load): need to preserve dln_strerror() result,
...
calling other dl family can clear it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-17 01:54:51 +00:00
knu
3a6168af5b
2002-06-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-15 10:25:08 +00:00
knu
7297827ec6
* dir.c (glob_helper): Use lstat() instead of stat() so it catches
...
a dead symlink. Given a dead symlink named "a", Dir.glob("?")
did catch it but Dir.glob("a") somehow didn't.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-15 10:24:38 +00:00
H_Konishi
42c59aa317
*bcc32 fix for win9x.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 12:21:50 +00:00
nobu
9e1473541d
2002-06-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 06:48:32 +00:00
nobu
aa79984980
* parse.y (read_escape): deny zero-width hexadecimal character.
...
(ruby-bugs-ja:PR#260)
* parse.y (tokadd_escape): ditto.
* regex.c (re_compile_pattern): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-14 06:27:18 +00:00
eban
561c59bf64
2002-06-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 06:44:00 +00:00
matz
8a6092725d
ext/exmk.rb.in, lib/singleton.rb: remove nested ""s.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 04:53:39 +00:00
matz
b3ecbfaa01
* eval.c (svalue_to_avalue): v may be Qundef. This fix was
...
suggested by Guy Decoux.
* hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling
st_insert() directly, to dup&freeze string keys.
* parse.y (yylex): proper error message for "@@0".
* parse.y (yylex): paren to parse_string() must be zero for
unparenthesized strings.
* parse.y (str_extend): broken string when unterminated "#{".
* enum.c (enum_sort_by): had a bug in 1 element enumeration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 03:55:44 +00:00
eban
a2020f907a
* lib/mkmf.rb: typo fix(RUBY_PLAT_FORM -> RUBY_PLATFORM).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-13 02:21:53 +00:00
suke
698e61aaa7
avoid some warnings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 12:23:10 +00:00
eban
5838e5bc4e
2002-06-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:33:40 +00:00
akira
b8be8d535a
merged differences between uri-0.9.6 and uri-0.9.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:32:35 +00:00
matz
91511afa9c
* parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG.
...
* parse.y (singleton): "def (()).a end" dumped core.
* parse.y (range_op): node may be null.
* parse.y (match_gen): ditto.
* parse.y (arg): void value check for "..", "...", "!", and "not".
* parse.y (match_gen): void value check for "=~".
* parse.y (value_expr): check NODE_AND and NODE_OR recursively.
* parse.y (cond0): void value check added for conditionals.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-12 09:22:20 +00:00
nobu
94f86651d6
* parse.y (stmt): fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 17:39:38 +00:00
ttate
28b8274e51
Include ctype.h for isdigit().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:59:43 +00:00
ttate
2690939122
Check the length of proto.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:54:51 +00:00
ttate
5434d73ef7
Get rid of STR2CSTR. (Thanks N.Nakada)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 14:44:53 +00:00
ttate
176542da7f
bugfix. (Thanks U.Nakamura)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 11:16:56 +00:00
eban
7f80a1800f
* configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW.
...
* configure.in, cygwin/GNUmakefile: use dllwrap when --disable-shared
is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 10:26:13 +00:00
eban
65caf01223
2002-06-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 07:27:22 +00:00