2023-08-22 05:43:24 -04:00
|
|
|
/*
|
2023-10-06 13:41:24 -04:00
|
|
|
Copyright (c) 2023 : Ognjen 'xolatile' Milan Robovic
|
|
|
|
|
|
|
|
Xyntax is free software! You will redistribute it or modify it under the terms of the GNU General Public License by Free Software Foundation.
|
|
|
|
And when you do redistribute it or modify it, it will use either version 3 of the License, or (at yours truly opinion) any later version.
|
|
|
|
It is distributed in the hope that it will be useful or harmful, it really depends... But no warranty what so ever, seriously. See GNU/GPLv3.
|
|
|
|
*/
|
2023-08-22 05:43:24 -04:00
|
|
|
|
2023-08-25 17:00:12 -04:00
|
|
|
#ifndef XYNTAX_HEADER
|
|
|
|
#define XYNTAX_HEADER
|
2023-08-23 21:12:55 -04:00
|
|
|
|
|
|
|
extern int syntax_count;
|
|
|
|
extern int * syntax_enrange;
|
|
|
|
extern int * syntax_derange;
|
|
|
|
extern char * * syntax_begin;
|
|
|
|
extern char * * syntax_end;
|
|
|
|
extern char * syntax_escape;
|
|
|
|
extern int * syntax_colour;
|
|
|
|
extern int * syntax_effect;
|
2023-09-14 20:07:46 -04:00
|
|
|
extern char * syntax_separator;
|
|
|
|
|
2023-10-31 09:40:22 -04:00
|
|
|
extern int syntax_define (int, int, char *, char *, char, int, int);
|
2023-08-23 21:12:55 -04:00
|
|
|
|
2023-09-12 05:03:51 -04:00
|
|
|
extern int syntax_select (char *, int *);
|
2023-08-28 09:03:06 -04:00
|
|
|
|
2023-08-23 21:12:55 -04:00
|
|
|
extern void syntax_delete (void);
|
2023-08-22 05:43:24 -04:00
|
|
|
|
2023-09-14 20:07:46 -04:00
|
|
|
/* Simplification... */
|
|
|
|
|
|
|
|
extern void syntax_define_style (int *, int *);
|
|
|
|
|
|
|
|
extern void syntax_define_separators (char *);
|
|
|
|
|
2023-10-07 02:45:38 -04:00
|
|
|
extern void syntax_define_default (int, int, int, int, int);
|
2023-09-14 20:07:46 -04:00
|
|
|
|
2023-10-07 02:45:38 -04:00
|
|
|
extern void syntax_define_words (char * *, int, int, int);
|
2023-09-14 20:07:46 -04:00
|
|
|
|
|
|
|
extern void syntax_define_range (char *, char *, char, int, int);
|
|
|
|
|
|
|
|
extern void syntax_define_operators (char *, int, int);
|
|
|
|
|
2023-08-22 05:43:24 -04:00
|
|
|
#endif
|