Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aonemd committed Mar 10, 2017
1 parent 96ac0b5 commit 5ec5824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/changit/lexer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def tokenize
tokens = []
expression.each_line do |line|
RULES.each do |rule, token_type|
lexmeme = line.slice(rule)
lexeme = line.slice(rule)

if (lexmeme)
tokens << token_type.new(lexmeme)
if (lexeme)
tokens << token_type.new(lexeme)
break
end
end
Expand Down

0 comments on commit 5ec5824

Please sign in to comment.