* [PATCH] Fix displaying GPIO_ACTIVE_LOW in devicetree-basics.rst
@ 2020-02-20 20:11 Arkadiusz Drabczyk
[not found] ` <20200220201154.14207-1-arkadiusz-42WfZ8EewN5g9hUCZPvPmw@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Arkadiusz Drabczyk @ 2020-02-20 20:11 UTC (permalink / raw)
To: devicetree-spec-u79uwXL29TY76Z2rM5mHXA
expansion_device {
reset-gpios = <&connector 2 GPIO_ACTIVE_LOW>;
^^^^^^^^^^^^^^^
};
^^... was shown in red boxes in the output PDF, HTML and possibly
everything else.
Signed-off-by: Arkadiusz Drabczyk <arkadiusz-42WfZ8EewN5g9hUCZPvPmw@public.gmane.org>
---
source/extensions/DtsLexer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/extensions/DtsLexer.py b/source/extensions/DtsLexer.py
index eb0e7d6..6be9a6b 100644
--- a/source/extensions/DtsLexer.py
+++ b/source/extensions/DtsLexer.py
@@ -76,7 +76,7 @@ class DtsLexer(RegexLexer):
'value': [
include('integers'),
include('comments'),
- (r'(\&)([a-zA-Z0-9_-]+)', bygroups(Operator, Text)),
+ (r'(\&)?([a-zA-Z0-9_-]+)', bygroups(Operator, Text)),
(r'<', Punctuation, '#push'),
(r'>', Punctuation, '#pop'),
(r'\[', Punctuation, '#push'),
--
2.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-27 16:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-20 20:11 [PATCH] Fix displaying GPIO_ACTIVE_LOW in devicetree-basics.rst Arkadiusz Drabczyk
[not found] ` <20200220201154.14207-1-arkadiusz-42WfZ8EewN5g9hUCZPvPmw@public.gmane.org>
2020-02-27 16:27 ` Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).