From a54abb2f4e5e66877619097bfd281261f99c5103 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 4 May 2020 07:27:47 +0200 Subject: Add recognition for line-leading `%` as token --- libbuild2/token.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libbuild2/token.cxx') diff --git a/libbuild2/token.cxx b/libbuild2/token.cxx index 4975a02..11b080e 100644 --- a/libbuild2/token.cxx +++ b/libbuild2/token.cxx @@ -24,6 +24,7 @@ namespace build2 case token_type::colon: os << q << ':' << q; break; case token_type::dollar: os << q << '$' << q; break; case token_type::question: os << q << '?' << q; break; + case token_type::percent: os << q << '%' << q; break; case token_type::comma: os << q << ',' << q; break; case token_type::lparen: os << q << '(' << q; break; -- cgit v1.1