diff options
Diffstat (limited to 'properties.y')
-rw-r--r-- | properties.y | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/properties.y b/properties.y new file mode 100644 index 0000000..69d683d --- /dev/null +++ b/properties.y @@ -0,0 +1,22 @@ +%{ + +#include <stdio.h> +#include <stdlib.h> + +%} + +%token KEY DIV VALUE + +%% + +value: VALUE + | VALUE value + ; + +%% + +void +yyerror(char *s) +{ + fprintf(stderr, "%s\n", s); +} |