Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1216
(An Untitled Masterwork)
Active
Public
Actions
Authored by
bluehawk
on Jul 28 2014, 10:08 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F182844: file
Jul 28 2014, 10:08 PM
2014-07-28 22:08:55 (UTC+0)
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
edited the content of this paste.
(Show Details)
Jul 28 2014, 10:08 PM
2014-07-28 22:08:55 (UTC+0)
bluehawk
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment