diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-02-11 19:50:03 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-02-11 20:18:40 -0500 |
commit | a2b5336d126a95b58527151584c249876d50f0e8 (patch) | |
tree | fb2e542fd27180723f6a491c0d96f1f97cd1b2b6 /dimension/common.terminals | |
parent | 6dfea71b967f6e4ab1372a26653bf806f77443c7 (diff) | |
download | dimension-a2b5336d126a95b58527151584c249876d50f0e8.tar.xz |
Add all language directives to lexer.
Diffstat (limited to 'dimension/common.terminals')
-rw-r--r-- | dimension/common.terminals | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/dimension/common.terminals b/dimension/common.terminals index f7428aa..c50c7a9 100644 --- a/dimension/common.terminals +++ b/dimension/common.terminals @@ -491,32 +491,32 @@ %token DMNSN_T_Z "z" /* Directives (#declare etc.) */ -%token DMNSN_T_BREAK -%token DMNSN_T_CASE -%token DMNSN_T_DEBUG +%token DMNSN_T_BREAK "#break" +%token DMNSN_T_CASE "#case" +%token DMNSN_T_DEBUG "#debug" %token DMNSN_T_DECLARE "#declare" -%token DMNSN_T_DEFAULT +%token DMNSN_T_DEFAULT "#default" %token DMNSN_T_ELSE "#else" %token DMNSN_T_END "#end" -%token DMNSN_T_ERROR -%token DMNSN_T_FCLOSE -%token DMNSN_T_FOPEN +%token DMNSN_T_ERROR "#error" +%token DMNSN_T_FCLOSE "#fclose" +%token DMNSN_T_FOPEN "#fopen" %token DMNSN_T_IF "#if" %token DMNSN_T_IFDEF "#ifdef" %token DMNSN_T_IFNDEF "#ifndef" %token DMNSN_T_INCLUDE "#include" %token DMNSN_T_LOCAL "#local" -%token DMNSN_T_MACRO -%token DMNSN_T_RANGE -%token DMNSN_T_READ -%token DMNSN_T_RENDER -%token DMNSN_T_STATISTICS -%token DMNSN_T_SWITCH +%token DMNSN_T_MACRO "#macro" +%token DMNSN_T_RANGE "#range" +%token DMNSN_T_READ "#read" +%token DMNSN_T_RENDER "#render" +%token DMNSN_T_STATISTICS "#statistics" +%token DMNSN_T_SWITCH "#switch" %token DMNSN_T_UNDEF "#undef" %token DMNSN_T_VERSION "#version" -%token DMNSN_T_WARNING +%token DMNSN_T_WARNING "#warning" %token DMNSN_T_WHILE "#while" -%token DMNSN_T_WRITE +%token DMNSN_T_WRITE "#write" /* Identifiers */ %token <value> DMNSN_T_IDENTIFIER "identifier" |