summaryrefslogtreecommitdiff
path: root/dns/tokenizer.py
diff options
context:
space:
mode:
authorBob Halley <halley@nominum.com>2010-01-12 15:19:27 -0800
committerBob Halley <halley@nominum.com>2010-01-12 15:19:27 -0800
commitf767791da2fefdfcd3e05fcff06e64925850f428 (patch)
treeb436c62eaafc5c42dde135f1343961648aa842f9 /dns/tokenizer.py
parentf3e9aa06b282570b0fadda772663d50c61c4edea (diff)
downloaddnspython-f767791da2fefdfcd3e05fcff06e64925850f428.tar.gz
actually set has_escape correctly when building tokens with escapes
Diffstat (limited to 'dns/tokenizer.py')
-rw-r--r--dns/tokenizer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/tokenizer.py b/dns/tokenizer.py
index 8253e04..237d656 100644
--- a/dns/tokenizer.py
+++ b/dns/tokenizer.py
@@ -386,7 +386,7 @@ class Tokenizer(object):
if self.multiline:
raise dns.exception.SyntaxError, 'unbalanced parentheses'
ttype = EOF
- return Token(ttype, token)
+ return Token(ttype, token, has_escape)
def unget(self, token):
"""Unget a token.