summaryrefslogtreecommitdiff
path: root/pygments/lexers/sql.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/sql.py')
-rw-r--r--pygments/lexers/sql.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pygments/lexers/sql.py b/pygments/lexers/sql.py
index c8a2e440..0611ab7c 100644
--- a/pygments/lexers/sql.py
+++ b/pygments/lexers/sql.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
"""
pygments.lexers.sql
~~~~~~~~~~~~~~~~~~~
@@ -102,8 +101,7 @@ def language_callback(lexer, match):
yield (match.start(3), String, match.group(3))
# 4 = string contents
if lx:
- for x in lx.get_tokens_unprocessed(match.group(4)):
- yield x
+ yield from lx.get_tokens_unprocessed(match.group(4))
else:
yield (match.start(4), String, match.group(4))
# 5 = $, 6 = delimiter, 7 = $