CMSIS-DSP: Minor cleaning and script for color syntax of test

descriptions
pull/19/head
Christophe Favergeon 6 years ago
parent 3b5bcc421f
commit bd19f75d4f

@ -225,6 +225,8 @@ if (FILTERING OR CONTROLLER OR FASTMATH OR TRANSFORM OR SVM OR DISTANCE)
endif()
endif()
target_link_libraries(CMSISDSP INTERFACE CMSISDSPCommon)
# Common project is adding ComputeLibrary tables used by SVM and Distance
# when NEon is ON.
endif()
if (SVM)

@ -0,0 +1,20 @@
from pygments.lexer import RegexLexer, bygroups,words
from pygments.token import *
class CustomLexer(RegexLexer):
name = 'Example Lexer for test desc'
tokens = {
'root': [
(words(("group","suite","class","folder","ParamList")), Keyword),
(words(("Pattern","Output","Params","oldID")), Keyword.Type),
(words(("Summary","Names","Formula","Functions")), Name.Function),
(r'\"[^\"]*\"',String),
(r'[a-zA-Z_][a-zA-Z_0-9\.]*',Text),
(r'[-+]?[0-9]+',Number),
(r'([=:\[\]]|->)',Operator),
(r'[\s\t]+',Text),
(r'[,{}]',Text),
(r'//.*?$', Comment.Singleline),
]
}
Loading…
Cancel
Save