Fixed old function names...
This commit is contained in:
parent
c0a3313308
commit
70448194b0
18
xuxuxu.c
18
xuxuxu.c
@ -129,20 +129,20 @@ int main (void) {
|
||||
"char", "short", "int", "long", "signed", "unsigned", "float", "double"
|
||||
};
|
||||
|
||||
(void) syntax_insert (0, 0, "#", "\n", '\\', COLOUR_PINK, 0);
|
||||
(void) syntax_insert (0, 0, "//", "\n", '\0', COLOUR_GREY, 0);
|
||||
(void) syntax_insert (0, 0, "/*", "*/", '\0', COLOUR_GREY, 0);
|
||||
(void) syntax_insert (0, 0, "'", "'", '\\', COLOUR_RED, 0);
|
||||
(void) syntax_insert (0, 0, "\"", "\"", '\\', COLOUR_RED, 0);
|
||||
(void) syntax_insert (1, 0, ".,:;<=>+-*/%!&~^?|()[]{}", "", '\0', COLOUR_BLUE, 0);
|
||||
(void) syntax_define (0, 0, "#", "\n", '\\', COLOUR_PINK, 0);
|
||||
(void) syntax_define (0, 0, "//", "\n", '\0', COLOUR_GREY, 0);
|
||||
(void) syntax_define (0, 0, "/*", "*/", '\0', COLOUR_GREY, 0);
|
||||
(void) syntax_define (0, 0, "'", "'", '\\', COLOUR_RED, 0);
|
||||
(void) syntax_define (0, 0, "\"", "\"", '\\', COLOUR_RED, 0);
|
||||
(void) syntax_define (1, 0, ".,:;<=>+-*/%!&~^?|()[]{}", "", '\0', COLOUR_BLUE, 0);
|
||||
|
||||
for (word = 0; word != 32; ++word) {
|
||||
(void) syntax_insert (0, 1, c_keywords [word], separator, '\0', COLOUR_YELLOW, 0);
|
||||
(void) syntax_define (0, 1, c_keywords [word], separator, '\0', COLOUR_YELLOW, 0);
|
||||
}
|
||||
|
||||
(void) syntax_insert (1, 1, "0123456789", separator, '\0', COLOUR_CYAN, 0);
|
||||
(void) syntax_define (1, 1, "0123456789", separator, '\0', COLOUR_CYAN, 0);
|
||||
|
||||
(void) syntax_insert (1, 1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_", separator, '\0', COLOUR_WHITE, 0);
|
||||
(void) syntax_define (1, 1, "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_", separator, '\0', COLOUR_WHITE, 0);
|
||||
|
||||
buffer = record ();
|
||||
|
||||
|
BIN
xuxuxu.png
BIN
xuxuxu.png
Binary file not shown.
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 76 KiB |
Loading…
Reference in New Issue
Block a user