initial commit

This commit is contained in:
root
2023-06-12 09:14:09 +02:00
commit b4912f303e
2545 changed files with 209350 additions and 0 deletions

142
tools/qed/syntax/cpp.syn Normal file
View File

@@ -0,0 +1,142 @@
;********************************************************
[C++ Source]
;********************************************************
Txttype = "cpp","cc","h"
Active = TRUE
CaseSensitive = TRUE
Token = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz"
<Comment>
From = "/*"
To = "*/"
(Color2)
Attribs = LIGHT
(Color16)
Color = 11
Selcolor = 3
(Color256)
Color = 11
Selcolor = 3
<Comment>
From = "//"
To = EOL
<String>
From = "\""
To = "\""
Quotechar = "\\"
(Color16)
Color = 9
Selcolor = 9
(Color256)
Color = 9
Selcolor = 9
<Array>
Keyword = "[","]"
(Color2)
Attribs = BOLD
(Color16)
Attribs = BOLD
(Color256)
Attribs = BOLD
<Char>
From = "'"
To = "'"
Quotechar = "\\"
(Color16)
Color = 9
Selcolor = 9
(Color256)
Color = 9
Selcolor = 9
<Line concat. in Macros>
Keyword = "\\"
(Color16)
Color = 15
Selcolor = 15
(Color256)
Color = 15
Selcolor = 15
<Keywords>
Keyword = "and_eq","auto","asm","and","bitand","break","bitor"
Keyword = "const_cast","continue","cdecl","catch","class","const","compl"
Keyword = "case","dynamic_cast","default","delete","do","explicit"
Keyword = "extern","export","else","enum","friend","false","for","goto"
Keyword = "inline","if","namespace","not_eq","new","not","operator"
Keyword = "or_eq","or","protected","private","pascal","public"
Keyword = "reinterpret_cast","return","static_cast","sizeof","switch"
Keyword = "template","typename","typedef","typeid","throw","this","true"
Keyword = "try","using","virtual","while","xor_eq","xor"
(Color2)
Attribs = BOLD
(Color16)
Attribs = BOLD
(Color256)
Attribs = BOLD
<Variable types>
Keyword = "bool","const","const","char","double","float","int","long"
Keyword = "mutable","register","signed","static","struct","short"
Keyword = "unsigned","union","volatile","void","wchar_t"
(Color2)
Attribs = BOLD
(Color16)
Attribs = BOLD
(Color256)
Attribs = BOLD
<User defined types>
Keyword = "BOOLEAN","BYTE","LONG","UBYTE","UWORD","ULONG","VOID","WORD"
(Color2)
Attribs = BOLD
(Color16)
Attribs = BOLD
(Color256)
Attribs = BOLD
<Preprocessor>
Keyword = "#include","#ifndef","#define","#pragma","#ifdef","#endif"
Keyword = "#error","#undef","#elif","#else","#line","#if"
(Color16)
Color = 15
Selcolor = 15
(Color256)
Color = 15
Selcolor = 15
<Hex constants>
From = "0x","0X"
While = "0"-"9","A"-"F","a"-"f"
(Color16)
Color = 12
Selcolor = 5
(Color256)
Color = 12
Selcolor = 5
<Decimal constants>
From = "0"-"9"
While = ".","0"-"9"
(Color16)
Color = 12
Selcolor = 5
(Color256)
Color = 12
Selcolor = 5
<Octal Constants>
From = "0"-"7"
While = "0"-"7"
(Color16)
Color = 12
Selcolor = 5
(Color256)
Color = 12
Selcolor = 5