1.1 --- a/tools/incparser/IncParser.cs Thu Jul 30 17:17:48 2009 -0700
1.2 +++ b/tools/incparser/IncParser.cs Sun Aug 09 14:03:50 2009 +1200
1.3 @@ -376,16 +376,6 @@
1.4 {
1.5 w.BeginSection("functag");
1.6
1.7 - /* Get the functag name */
1.8 - NeedToken(LexToken.TOKEN_SYMBOL);
1.9 - w.WritePair("name", LexString);
1.10 - w.functagList.Add(LexString);
1.11 -
1.12 - if (MatchToken(LexToken.TOKEN_LABEL))
1.13 - {
1.14 - w.WritePair("return", LexString);
1.15 - }
1.16 -
1.17 if (MatchToken(LexToken.TOKEN_PUBLIC))
1.18 {
1.19 w.WritePair("type", "public");
1.20 @@ -395,6 +385,16 @@
1.21 w.WritePair("type", "stock");
1.22 }
1.23
1.24 + if (MatchToken(LexToken.TOKEN_LABEL))
1.25 + {
1.26 + w.WritePair("return", LexString);
1.27 + }
1.28 +
1.29 + /* Get the functag name */
1.30 + NeedToken(LexToken.TOKEN_SYMBOL);
1.31 + w.WritePair("name", LexString);
1.32 + w.functagList.Add(LexString);
1.33 +
1.34 ParseParameters(w);
1.35 NeedChar(';');
1.36