diff options
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 |