Branch: Tag:

2001-02-08

2001-02-08 14:43:09 by David Norlin <norlin@roxen.com>

@module Foo:: is now valid.

Rev: lib/modules/Tools.pmod/AutoDoc.pmod/DocParser.pmod:1.18

598:    meta->type = keyword;    .PikeParser nameparser = .PikeParser(arg);    string s = nameparser->readToken(); -  if (!isIdent(s) || nameparser->readToken() != EOF) +  if (!isIdent(s))    parseError("expected %s name, got %O", keyword, s); -  +  if (nameparser->peekToken() == "::") +  s += nameparser->readToken(); +  if (nameparser->peekToken() != EOF) +  parseError("expected %s name, got %O", keyword, arg);    meta->name = s;    }    break;