diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/getopts.rb | 2 | ||||
-rw-r--r-- | lib/parsearg.rb | 2 | ||||
-rw-r--r-- | lib/racc/parser.rb | 6 | ||||
-rw-r--r-- | lib/sync.rb | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/lib/getopts.rb b/lib/getopts.rb index be7bd76b75..7ff97c6ecd 100644 --- a/lib/getopts.rb +++ b/lib/getopts.rb @@ -17,7 +17,7 @@ warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')+':' if caller[0]} getopts is deprecated after Ruby 1.8.1; use optparse instead" if caller[0] and $VERBOSE -$RCS_ID=%q$Header$ +$RCS_ID=%q$Id$ # getopts is obsolete. Use GetoptLong. diff --git a/lib/parsearg.rb b/lib/parsearg.rb index cab2dba789..8133858b93 100644 --- a/lib/parsearg.rb +++ b/lib/parsearg.rb @@ -12,7 +12,7 @@ warn "Warning:#{caller[0].sub(/:in `.*'\z/, '')}: parsearg is deprecated after Ruby 1.8.1; use optparse instead" -$RCS_ID=%q$Header$ +$RCS_ID=%q$Id$ require "getopts" diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index a7408dd00a..501ad36770 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -31,10 +31,10 @@ module Racc class Parser Racc_Runtime_Version = '1.4.5' - Racc_Runtime_Revision = '$originalRevision: 1.8 $'.split[1] + Racc_Runtime_Revision = %w$originalRevision: 1.8 $[1] Racc_Runtime_Core_Version_R = '1.4.5' - Racc_Runtime_Core_Revision_R = '$originalRevision: 1.8 $'.split[1] + Racc_Runtime_Core_Revision_R = %w$originalRevision: 1.8 $[1] begin require 'racc/cparse' # Racc_Runtime_Core_Version_C = (defined in extention) @@ -389,7 +389,7 @@ module Racc toks.each {|t| out.print ' ', racc_token2str(t) } end out.puts " --> #{racc_token2str(sim)}" - + racc_print_stacks tstack, vstack @racc_debug_out.puts end diff --git a/lib/sync.rb b/lib/sync.rb index 9e522c2466..c40ae2396f 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -44,7 +44,7 @@ unless defined? Thread end module Sync_m - RCS_ID='-$Header$-' + RCS_ID='-$Id$-' # lock mode UN = :UN |