Skip to content

Commit

Permalink
Remove code which was guarded by if false
Browse files Browse the repository at this point in the history
    * lib/ridl/scanner.rb:
  • Loading branch information
jwillemsen committed Jul 12, 2023
1 parent b693fe5 commit 3115cf9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions lib/ridl/scanner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,6 @@ def getc
else
@pos.column += 1
end

if false
if not @bwd.nil? or cur.nil? or @fwd.nil?
printf("%c(%02x), %c(%02x), %c(%02x) @(l:%d,c:%d)\n",
@bwd, @bwd, cur, cur, @fwd, @fwd, @pos.line, @pos.column)
end
end
@bwd = cur
end

Expand Down

0 comments on commit 3115cf9

Please sign in to comment.