summaryrefslogtreecommitdiffstats
path: root/filter/config.Y
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2000-05-25 17:20:40 +0200
committerPavel Machek <pavel@ucw.cz>2000-05-25 17:20:40 +0200
commitad9074e9ba2f2c1fa7e681b5f79f9049e5c640f8 (patch)
tree3a2f6eae8044dccca93d4066d1a48efc3316ae7c /filter/config.Y
parent69477cad708235f2ab79796dc62c06d3c879111c (diff)
downloadbird-ad9074e9ba2f2c1fa7e681b5f79f9049e5c640f8.tar
bird-ad9074e9ba2f2c1fa7e681b5f79f9049e5c640f8.zip
Cleaned up warnings.
Diffstat (limited to 'filter/config.Y')
-rw-r--r--filter/config.Y13
1 files changed, 3 insertions, 10 deletions
diff --git a/filter/config.Y b/filter/config.Y
index b81bd6c..95ce5ea 100644
--- a/filter/config.Y
+++ b/filter/config.Y
@@ -5,13 +5,6 @@
*
* Can be freely distributed and used under the terms of the GNU GPL.
*
- FIXME (nonurgent): define keyword
- FIXME (for BGP): whole system of paths, path ~ string, path.prepend(), path.originate
- FIXME: create community lists
- FIXME: IP addresses in ipv6
-
-
- FIXME: check messages for \n at the end
*/
CF_HDR
@@ -77,7 +70,7 @@ type:
| type SET {
switch ($1) {
default:
- cf_error( "You can not create sets of this type\n" );
+ cf_error( "You can not create sets of this type" );
case T_INT: case T_IP: case T_PREFIX: case T_PAIR:
}
$$ = $1 | T_SET;
@@ -184,7 +177,7 @@ cmds: /* EMPTY */ { $$ = NULL; }
| cmd cmds {
if ($1) {
if ($1->next)
- bug("Command has next already set\n");
+ bug("Command has next already set");
$1->next = $2;
$$ = $1;
} else $$ = $2;
@@ -496,7 +489,7 @@ cmd:
$$ = f_new_inst();
DBG( "Ook, we'll set value\n" );
if (($1->class & ~T_MASK) != SYM_VARIABLE)
- cf_error( "You may only set variables, and this is %x.\n", $1->class );
+ cf_error( "You may only set variables, and this is %x.", $1->class );
$$->code = 's';
$$->a1.p = $1;
$$->a2.p = $3;