typo in Parser.cc
[email protected] (Gilles J. Seguin)
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
you must disregard where '.','-' and '_' are different
means this thing is not a patch
Index: Parser.cc
===================================================================
--- Parser.cc (revision 1534)
+++ Parser.cc (working copy)
@@ -1894,12 +1894,12 @@
/*
declarator
: (ptr.operator)* (name | '(' declarator ')')
('[' expression ']')* {func.args.or.init}
func.args.or.init
- : '(' arg.decl.list.or.init ')' {cv.qualify} {throw.decl}
+ : '(' parameter-declaration-list-or-init ')' {cv-qualify}
{throw-decl}
{member.initializers}
Note: We assume that '(' declarator ')' is followed by '(' or '['.
This is to avoid accepting a function call F(x) as a pair of
@@ -2527,13 +2527,13 @@
}
/*
- arg.decl.list.or.init
- : para.decl.list
+ parameter-declaration-list-or-init
+ : parameter-declaration-list
| function.arguments
This rule accepts function.arguments to parse declarations like:
Point p(1, 3);
- "(1, 3)" is arg.decl.list.or.init.
+ "(1, 3)" is parameter-declaration-list-or-init.
If maybe_init is true, we first examine whether tokens construct
function.arguments. This ordering is significant if tokens are
@@ -2569,9 +2569,9 @@
}
/*
- para.decl.list
+ parameter-declaration-list
: empty