diff options
-rw-r--r-- | parser/vyos1x_lexer.mll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parser/vyos1x_lexer.mll b/parser/vyos1x_lexer.mll index 73bcd83..a996642 100644 --- a/parser/vyos1x_lexer.mll +++ b/parser/vyos1x_lexer.mll @@ -66,6 +66,8 @@ rule token = parse { vy_inside_node := false; LEFT_BRACE } | '}' { vy_inside_node := false; RIGHT_BRACE } +| "//" [^ '\n']* + { token lexbuf } | [^ ' ' '\t' '\n' '\r' '{' '}' '"' ''' ]+ as s { vy_inside_node := true; IDENTIFIER s} | eof |