Fix displaying GPIO_ACTIVE_LOW in devicetree-basics.rst
PATCH 1/1 Fix displaying GPIO_ACTIVE_LOW in devicetree-basics.rst
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 <[email protected]>
--- source/extensions/DtsLexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
source/extensions/DtsLexer.py +1 -1
@@ -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'),
Signature · 1 line
2.9.0
A message that is not in the archive (sent off-list or not yet received): 20200220201154.14207-1-arkadiusz-42WfZ8EewN5g9hUCZPvPmw@public.gmane.org
Quoted 5 lines · Arkadiusz Drabczyk
expansion_device {
reset-gpios = <&connector 2 GPIO_ACTIVE_LOW>;
^^^^^^^^^^^^^^^
};Quoted 7 lines
^^... was shown in red boxes in the output PDF, HTML and possibly everything else.
Signed-off-by Arkadiusz Drabczyk <[email protected]>--- source/extensions/DtsLexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
4 patches applied, thanks.
Rob