Adding dot.name support for extends, implements and RPC names

This commit is contained in:
Pavel Shevaev 2023-11-10 01:07:04 +03:00
parent 7ac955a389
commit 759229485a
1 changed files with 3 additions and 3 deletions

View File

@ -534,7 +534,7 @@ class mtgMetaInfoParser
{
$this->_next();
$origin = new mtgOrigin($this->file, $this->line);
$parent_name = $this->_checkThenNext(self::T_Identifier);
$parent_name = $this->_parseDotName();
$parent = new mtgTypeRef($parent_name, $this->module, $origin);
}
@ -545,7 +545,7 @@ class mtgMetaInfoParser
{
$this->_next();
$origin = new mtgOrigin($this->file, $this->line);
$if_name = $this->_checkThenNext(self::T_Identifier);
$if_name = $this->_parseDotName();
$implements[] = new mtgTypeRef($if_name, $this->module, $origin);
} while($this->token == ord(','));
}
@ -611,7 +611,7 @@ class mtgMetaInfoParser
{
$this->_next();
$code = $this->_checkThenNext(self::T_IntegerConstant);
$name = $this->_checkThenNext(self::T_Identifier);
$name = $this->_parseDotName();
$this->_checkThenNext('(');
$tokens = $this->shared_tokens;