Page MenuHomePhabricator
Authored By
bluehawk
Jul 28 2014, 10:08 PM
Size
1 KB
Referenced Files
None
Subscribers
None
Error (PHL1) Unknown Symbol
Use of unknown function 'xhpast_parser_token_constants'. Common causes
are:
- Your libphutil/ is out of date.
This is the most common cause.
Update this copy of libphutil: F:\bin\libphutil
- Some other library is out of date.
Update the library this symbol appears in.
- This symbol is misspelled.
Spell the symbol name correctly.
Symbol name spelling is case-sensitive.
- This symbol was added recently.
Run `arc liberate` on the library it was added to.
- This symbol is external. Use `@phutil-external-symbol`.
Use `grep` to find usage examples of this directive.
*** ALTHOUGH USUALLY EASY TO FIX, THIS IS A SERIOUS ERROR.
*** THIS ERROR IS YOUR FAULT. YOU MUST RESOLVE IT.
5 public function __construct(array $tree, array $stream, $source) {
6 $this->setTreeType('XHP');
7 $this->setNodeConstants(xhp_parser_node_constants());
>>> 8 $this->setTokenConstants(xhpast_parser_token_constants());
9
10 parent::__construct($tree, $stream, $source);
11 }

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/w4/tf/mlk7y7ntudxpmdyu
Default Alt Text
file (1 KB)

Event Timeline