]> git.ipfire.org Git - thirdparty/bird.git/commit
Conf: Improve parsing of config datatypes
authorOndrej Zajicek <santiago@crfreenet.org>
Fri, 9 May 2025 12:53:58 +0000 (14:53 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Sat, 10 May 2025 13:32:02 +0000 (15:32 +0200)
commit36b2092213347a00021c9ae04ad5ccc75baef947
tree358c8f1b48f282922999345bab7e5534e5b6a0b4
parent4b5c81057c1309bbd5976ebe7ea85d247460122e
Conf: Improve parsing of config datatypes

Parser rules for configuration datatypes were inconsistent about whether
they accept literals, constants, or expressions. We should accept each
of these three everywhere.

The patch also simplifies the grammar, makes it more uniform, and adds
some documentation about that.
conf/confbase.Y
doc/bird.sgml
nest/config.Y
proto/bgp/config.Y