summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--parser/vyos1x_lexer.mll2
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index cdfb586..27954ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libvyosconfig0 (0.0.3) unstable; urgency=medium
+
+ * Allow all characters except braces, quotes, and whitespace in identifiers.
+
+ -- Daniil Baturin <daniil@baturin.org> Tue, 11 Sep 2018 12:57:39 +0200
+
libvyosconfig0 (0.0.2) unstable; urgency=medium
* Add support for node renaming.
diff --git a/parser/vyos1x_lexer.mll b/parser/vyos1x_lexer.mll
index 1969b91..73bcd83 100644
--- a/parser/vyos1x_lexer.mll
+++ b/parser/vyos1x_lexer.mll
@@ -66,7 +66,7 @@ rule token = parse
{ vy_inside_node := false; LEFT_BRACE }
| '}'
{ vy_inside_node := false; RIGHT_BRACE }
-| [^ ' ' '\t' '\n' '\r' '{' '}' '[' ']' ';' '#' '"' ''' ]+ as s
+| [^ ' ' '\t' '\n' '\r' '{' '}' '"' ''' ]+ as s
{ vy_inside_node := true; IDENTIFIER s}
| eof
{ EOF }