diff --git a/parser.inc.php b/parser.inc.php index 0f0a25b..6b0056a 100644 --- a/parser.inc.php +++ b/parser.inc.php @@ -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;