Revision ad9074e9 filter/config.Y

View differences:

filter/config.Y
5 5
 *
6 6
 *	Can be freely distributed and used under the terms of the GNU GPL.
7 7
 *
8
	FIXME (nonurgent): define keyword
9
	FIXME (for BGP): whole system of paths, path ~ string, path.prepend(), path.originate
10
	FIXME: create community lists
11
	FIXME: IP addresses in ipv6
12

  
13

  
14
        FIXME: check messages for \n at the end
15 8
 */
16 9

  
17 10
CF_HDR
......
77 70
 | type SET { 
78 71
	switch ($1) {
79 72
	  default:
80
		cf_error( "You can not create sets of this type\n" );
73
		cf_error( "You can not create sets of this type" );
81 74
	  case T_INT: case T_IP: case T_PREFIX: case T_PAIR:
82 75
	}
83 76
	$$ = $1 | T_SET;
......
184 177
 | cmd cmds {
185 178
     if ($1) {
186 179
       if ($1->next)
187
	 bug("Command has next already set\n");
180
	 bug("Command has next already set");
188 181
       $1->next = $2;
189 182
       $$ = $1;
190 183
     } else $$ = $2;
......
496 489
     $$ = f_new_inst();
497 490
     DBG( "Ook, we'll set value\n" );
498 491
     if (($1->class & ~T_MASK) != SYM_VARIABLE)
499
       cf_error( "You may only set variables, and this is %x.\n", $1->class );
492
       cf_error( "You may only set variables, and this is %x.", $1->class );
500 493
     $$->code = 's';
501 494
     $$->a1.p = $1;
502 495
     $$->a2.p = $3;

Also available in: Unified diff