Skip to content

Commit

Permalink
Merge pull request #109 from jwillemsen/jwi-iffalsescanner
Browse files Browse the repository at this point in the history
Remove code which was guarded by `if false`
  • Loading branch information
jwillemsen authored Jul 12, 2023
2 parents 206e6ae + 3115cf9 commit 4a5c6d1
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 4a5c6d1

Please sign in to comment.