summaryrefslogtreecommitdiff
path: root/proto
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-05-17 22:18:49 +0200
committerMaria Matejka <mq@ucw.cz>2019-05-17 22:26:21 +0200
commit9eef9c648cee7179e069ea1f978d4e86cef580d3 (patch)
tree3fc43a6feeb005116c62d92905302734e37bb472 /proto
parentfe503c7c0632b385222c92b85d04526fdf36a1a3 (diff)
Lexer now returns known sym / unknown sym / keyword
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 38b09deb..66cf60c1 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -544,7 +544,7 @@ lsadb_args:
| lsadb_args LSID idval { $$ = $1; $$->lsid = $3; }
| lsadb_args SELF { $$ = $1; $$->router = SH_ROUTER_SELF; }
| lsadb_args ROUTER idval { $$ = $1; $$->router = $3; }
- | lsadb_args CF_SYM_PROTO { $$ = $1; $$->proto = (struct ospf_proto *) proto_get_named($2, &proto_ospf); }
+ | lsadb_args CF_SYM_KNOWN { cf_assert_symbol($2, SYM_PROTO); $$ = $1; $$->proto = (struct ospf_proto *) proto_get_named($2, &proto_ospf); }
;
CF_CODE