From ac591cc542f039af8f66567439fbb0aee3d93963 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 22 Mar 2010 13:20:56 -0400 Subject: Add built-in float constants. --- dimension/grammar.epilogue | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dimension/grammar.epilogue') diff --git a/dimension/grammar.epilogue b/dimension/grammar.epilogue index 23e8504..08587f9 100644 --- a/dimension/grammar.epilogue +++ b/dimension/grammar.epilogue @@ -214,6 +214,10 @@ dmnsn_astnode_string(dmnsn_astnode_type astnode_type) dmnsn_astnode_map(DMNSN_AST_VDOT, "vdot" ); dmnsn_astnode_map(DMNSN_AST_VLENGTH, "vlength"); + dmnsn_astnode_map(DMNSN_AST_PI, "pi" ); + dmnsn_astnode_map(DMNSN_AST_TRUE, "true" ); + dmnsn_astnode_map(DMNSN_AST_FALSE, "false"); + dmnsn_astnode_map(DMNSN_AST_NEGATE, "-"); dmnsn_astnode_map(DMNSN_AST_DOT_X, ".x"); dmnsn_astnode_map(DMNSN_AST_DOT_Y, ".y"); -- cgit v1.2.3