diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 07:54:50 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-18 07:54:50 +0000 |
| commit | 17842166c989d0047146db507fa25e6e8e88ec9e (patch) | |
| tree | 931e71bab40a2cdcd839afba48d6cc67161acc6a /lib/racc | |
| parent | 66710f943221844a7e16f2c32bb427f360ec7aae (diff) | |
| download | ruby-17842166c989d0047146db507fa25e6e8e88ec9e.tar.gz ruby-17842166c989d0047146db507fa25e6e8e88ec9e.tar.xz ruby-17842166c989d0047146db507fa25e6e8e88ec9e.zip | |
* lib/optparse/version.rb: remove variable shadowing to stop
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before parentheses.
* lib/shell/command-processor.rb, lib/shell/process-controller.rb:
use parentheses around arguments.
* lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb,
lib/yaml/baseemitter.rb: indentation fix.
* lib/matrix.rb: small cosmetic change.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/racc')
| -rw-r--r-- | lib/racc/parser.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/racc/parser.rb b/lib/racc/parser.rb index a7408dd00..e87a250e5 100644 --- a/lib/racc/parser.rb +++ b/lib/racc/parser.rb @@ -159,7 +159,6 @@ module Racc reduce_n, use_result, * = arg _racc_init_sysvars - tok = nil act = nil i = nil nerr = 0 @@ -189,7 +188,7 @@ module Racc ; end - while not (i = action_pointer[@racc_state[-1]]) or + while not(i = action_pointer[@racc_state[-1]]) or not @racc_read_next or @racc_t == 0 # $ unless i and i += @racc_t and |
