summaryrefslogtreecommitdiffstats
path: root/dimension/grammar.terminals
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-29 20:03:21 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-29 20:03:21 -0500
commit58634f3410db1ff16f6e21d9d0e1fcfaa17b2453 (patch)
tree890d1398659c873a459e6d639cf4b949f550f50f /dimension/grammar.terminals
parent557dfdbb9b770f755feae04afe9aaef60d63ada3 (diff)
downloaddimension-58634f3410db1ff16f6e21d9d0e1fcfaa17b2453.tar.xz
Fix lexing error handling.
Diffstat (limited to 'dimension/grammar.terminals')
-rw-r--r--dimension/grammar.terminals3
1 files changed, 2 insertions, 1 deletions
diff --git a/dimension/grammar.terminals b/dimension/grammar.terminals
index 586715b..37d3c16 100644
--- a/dimension/grammar.terminals
+++ b/dimension/grammar.terminals
@@ -17,7 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
*************************************************************************/
-%token END 0 "end-of-file"
+%token DMNSN_T_EOF 0 "end-of-file"
+%token DMNSN_T_LEX_ERROR "error"
/* Punctuation */
%token DMNSN_T_LBRACE "{"