diff options
author | c+1 | 2023-10-02 13:13:45 -0400 |
---|---|---|
committer | c+1 | 2023-10-02 13:13:45 -0400 |
commit | 4d9dd289951589ddf408fdec62245b20cfe199c7 (patch) | |
tree | 56f1a42027c619c0c0a5d85e4fbdcb35af2b3ccd /src | |
parent | dee72dfcc0124be81e338a1d85948b8f1250085d (diff) |
syntax.h
Diffstat (limited to 'src')
-rw-r--r-- | src/include/syntax.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/syntax.h b/src/include/syntax.h new file mode 100644 index 0000000..b4410c5 --- /dev/null +++ b/src/include/syntax.h @@ -0,0 +1,24 @@ +#ifndef SYNTAX_H +#define SYNTAX_H + +/* Syntax Definitions */ + +#define SYNTAX_CHAR_DELIM '\'' +#define SYNTAX_STR_DELIM '"' +#define SYNTAX_COMMENT_DELIM '`' +#define SYNTAX_EXPR_END ';' +#define SYNTAX_SET '=' +#define SYNTAX_LGROUP '(' +#define SYNTAX_RGROUP ')' +#define SYNTAX_DIRECTIVE_DELIM '#' +#define SYNTAX_APPLY '.' +#define SYNTAX_LIST_DELIM ',' +#define SYNTAX_TAG_DELIM ':' +#define SYNTAX_NAMESPACE_DELIM '/' +#define SYNTAX_LBLOCK '{' +#define SYNTAX_RBLOCK '}' +#define SYNTAX_RLIST '[' +#define SYNTAX_LLIST ']' +#define SYNTAX_ESC '\\' + +#endif |