Skip to contentSkip to conversation

build: Help attempts to syntax highlight Config.mk

PATCH In review Andrew Cooper 2 participants 2 messages Feb 22, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build: Help attempts to syntax highlight Config.mk

Some attempts to syntax highlight Config.mk end up thinking that most of Config.mk is a string, due to the unbalanced squote. Provide a balancing squote in a comment to compensate.

No functional change.

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 Config.mk | 1 +
 1 file changed, 1 insertion(+)
Config.mk +1 -0
index 037e516..c6f0df9 100644
@@ -7,6 +7,7 @@ endif
 # Convenient variables
 comma   := ,
 squote  := '
+#' Balancing squote, to help syntax highlighting
 empty   :=
 space   := $(empty) $(empty)
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 24 lines · Andrew Cooper

Some attempts to syntax highlight Config.mk end up thinking that most of Config.mk is a string, due to the unbalanced squote. Provide a balancing squote in a comment to compensate.

No functional change.

---
CC: George Dunlap <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Jan Beulich <[email protected]>
CC: Konrad Rzeszutek Wilk <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Tim Deegan <[email protected]>
CC: Wei Liu <[email protected]>

---
 Config.mk | 1 +
 1 file changed, 1 insertion(+)
Config.mk +0 -0
index 037e516..c6f0df9 100644

Config.mk endif · line 10

Quoted 4 lines
Config.mk +1 -0
@@ -7,6 +7,7 @@ endif
 # Convenient variables
 comma   := ,
 squote  := '
+#' Balancing squote, to help syntax highlighting

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel