summaryrefslogtreecommitdiff
path: root/pygments/lexers/golo.py
diff options
context:
space:
mode:
authorYannick Loiseau <me@yloiseau.net>2014-04-04 20:01:39 +0200
committerYannick Loiseau <me@yloiseau.net>2014-04-04 20:01:39 +0200
commita9ec1faa58cf3511f4e4fd3580141473aaddf033 (patch)
treecfbcd3e0a0b1fe168841d93373cea4ad044efb72 /pygments/lexers/golo.py
parent9d0cb48abbf09b6567c6f09560110e99b836237f (diff)
downloadpygments-a9ec1faa58cf3511f4e4fd3580141473aaddf033.tar.gz
correct bug on single quoted string
Diffstat (limited to 'pygments/lexers/golo.py')
-rw-r--r--pygments/lexers/golo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pygments/lexers/golo.py b/pygments/lexers/golo.py
index a661493a..64c704fe 100644
--- a/pygments/lexers/golo.py
+++ b/pygments/lexers/golo.py
@@ -95,7 +95,7 @@ class GoloLexer(RegexLexer):
(r'[a-zA-Z_][a-z$A-Z0-9_]*', Name.Variable, '#pop'),
],
'string': [
- (r'[^\\\"\n]+', String),
+ (r'[^\\\'"\n]+', String),
(r'[\'"\\]', String)
],
'stringescape': [