aboutsummaryrefslogtreecommitdiff
path: root/libbuild2
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-10-20 12:32:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-10-20 12:32:26 +0300
commit8a9ea214483adccc446954bfa9f4f3aade997275 (patch)
tree8ce4861f053fd7d76e4c6a4032d3078b1a6b48bb /libbuild2
parent86dd2edb5afdcde411361f117001a30bc30de901 (diff)
Tweak documentation in parser::parse_for()
Diffstat (limited to 'libbuild2')
-rw-r--r--libbuild2/parser.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/parser.cxx b/libbuild2/parser.cxx
index b1f6eb2..bc7b79b 100644
--- a/libbuild2/parser.cxx
+++ b/libbuild2/parser.cxx
@@ -4379,10 +4379,10 @@ namespace build2
void parser::
parse_for (token& t, type& tt)
{
- // for <varname>: <value>
+ // for [<var-attrs>] <varname> [<elem-attrs>]: [<val-attrs>] <value>
// <line>
//
- // for <varname>: <value>
+ // for [<var-attrs>] <varname> [<elem-attrs>]: [<val-attrs>] <value>
// {
// <block>
// }