[riot-notifications] [RIOT-OS/RIOT] dist/tools/vera++: improve support C/C++ support and optimize CI call (#15709)

José Alamos notifications at github.com
Wed Jan 6 11:53:21 CET 2021


@jia200x commented on this pull request.



> +proc isCPPKeyword {s} {
+    global cpp_keywords
+    return [expr [lsearch $cpp_keywords $s] != -1]
 }

I manually defined the CPP keywords above. The trick is in the _if_ below: if the keyword is a _pure C_ kw or the file is C++ and tje keywords is a C++ kw_, then the token is marked

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15709#discussion_r552504558
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210106/6b9f805e/attachment.htm>


More information about the notifications mailing list