Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d8e594db
Commit
d8e594db
authored
May 17, 2012
by
Fabián Ezequiel Gallina
Committed by
Fabián Ezequiel Gallina
May 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed highlighting for dictionary assignments
parent
6eb68dc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/progmodes/python.el
lisp/progmodes/python.el
+2
-1
No files found.
lisp/progmodes/python.el
View file @
d8e594db
...
...
@@ -273,7 +273,8 @@
;; asignations
;; support for a = b = c = 5
(
,
(
lambda
(
limit
)
(
let
((
re
(
python-rx
(
group
(
+
(
any
word
?.
?_
)))
(
*
space
)
(
let
((
re
(
python-rx
(
group
(
+
(
any
word
?.
?_
)))
(
?
?\[
(
+
(
not
(
any
?\]
)))
?\]
)
(
*
space
)
assignment-operator
)))
(
when
(
re-search-forward
re
limit
t
)
(
while
(
and
(
not
(
equal
(
nth
0
(
syntax-ppss
))
0
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment