Skip to content

Commit

Permalink
Merge pull request #5 from philippeitis/patch-6
Browse files Browse the repository at this point in the history
Fix dangling quote.
  • Loading branch information
marethyu authored and Jimmy Y committed Feb 9, 2020
2 parents eedcf41 + 4b3ed8b commit 5bdbaf1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion peep/defaultvals.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
class Default(object):
@staticmethod
def default_value(type):
return DEFAULT_VALUES.get(type)
return DEFAULT_VALUES.get(type)
2 changes: 0 additions & 2 deletions peep/lexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ def next_token(self):
is_escaped = self.current == "\\"

prev = self.current
if prev is not None:
string_literal += prev

return self._make_token(TokenTag.STR_LITERAL, string_literal)

Expand Down

0 comments on commit 5bdbaf1

Please sign in to comment.