summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/config.Y9
1 files changed, 1 insertions, 8 deletions
diff --git a/filter/config.Y b/filter/config.Y
index 17f687a..45f65b5 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -25,13 +25,6 @@ CF_KEYWORDS(FUNCTION, FILTER, PRINTDEBUG, INT, PRINT)
CF_GRAMMAR
-config:
- program {
- printf( "Wow, we have full program\n" );
- return 0;
- }
- ;
-
program: /* EMPTY */
| program function
;
@@ -68,7 +61,7 @@ term: /* EMPTY */ { $$ = NULL; }
$$->arg1 = $1;
$$->arg2 = $3;
}
- | INT SYM ';' {
+ | INT SYM {
if ($2->class != SYM_VOID) cf_error("Symbol already defined, can not use as variable\n" );
$2->class = SYM_VARIABLE_INT;
printf( "New variable\n" );