Page MenuHomePhabricator
Paste P1216

(An Untitled Masterwork)
ActivePublic

Authored by bluehawk on Jul 28 2014, 10:08 PM.
Tags
None
Referenced Files
F182844: file
Jul 28 2014, 10:08 PM
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 }

Event Timeline

bluehawk updated the paste's language from autodetect to autodetect.