Page MenuHomePhabricator

XHPAST is out of date on Windows
Open, Needs TriagePublic

Description

Current build is xhpast version 5.5.8/1e, but 5.5.8/1g is the last source version. (See also T4592)

Revisions and Commits

Event Timeline

richardvanvelzen raised the priority of this task from to Needs Triage.
richardvanvelzen updated the task description. (Show Details)
richardvanvelzen added a project: XHPAST.
richardvanvelzen added a subscriber: richardvanvelzen.

I tried to give this a go, but with no luck:

     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:37:5: note: in definition of macro 'NMORE'
   ((n)->expandRange(end))
     ^
parser.y:40:10: note: in expansion of macro 'NTYPE'
   (NMORE(NTYPE((n), type), end))
          ^
parser.y:2555:5: note: in expansion of macro 'NSPAN'
     NSPAN($2, n_CALL_PARAMETER_LIST, $4);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2563:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2563:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2566:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2566:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2569:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_SYMBOL_NAME);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2569:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_SYMBOL_NAME);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:37:5: note: in definition of macro 'NMORE'
   ((n)->expandRange(end))
     ^
parser.y:40:10: note: in expansion of macro 'NTYPE'
   (NMORE(NTYPE((n), type), end))
          ^
parser.y:2571:5: note: in expansion of macro 'NSPAN'
     NSPAN($2, n_CALL_PARAMETER_LIST, $4);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:37:5: note: in definition of macro 'NMORE'
   ((n)->expandRange(end))
     ^
parser.y:40:10: note: in expansion of macro 'NTYPE'
   (NMORE(NTYPE((n), type), end))
          ^
parser.y:2571:5: note: in expansion of macro 'NSPAN'
     NSPAN($2, n_CALL_PARAMETER_LIST, $4);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2579:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2579:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2582:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2582:15: note: in expansion of macro 'NTYPE'
     $$ = NTYPE($1, n_INCLUDE_FILE)->appendChild($2);
               ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:37:5: note: in definition of macro 'NMORE'
   ((n)->expandRange(end))
     ^
parser.y:40:10: note: in expansion of macro 'NTYPE'
   (NMORE(NTYPE((n), type), end))
          ^
parser.y:2598:5: note: in expansion of macro 'NSPAN'
     NSPAN($1, n_PARENTHETICAL_EXPRESSION, $3);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:37:5: note: in definition of macro 'NMORE'
   ((n)->expandRange(end))
     ^
parser.y:40:10: note: in expansion of macro 'NTYPE'
   (NMORE(NTYPE((n), type), end))
          ^
parser.y:2598:5: note: in expansion of macro 'NSPAN'
     NSPAN($1, n_PARENTHETICAL_EXPRESSION, $3);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2622:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($1, n_STRING_SCALAR));
                          ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2622:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($1, n_STRING_SCALAR));
                          ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2630:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_ARRAY_LITERAL);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2630:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_ARRAY_LITERAL);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2636:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_ARRAY_LITERAL);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2636:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_ARRAY_LITERAL);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2645:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_NEW);
     ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2645:5: note: in expansion of macro 'NTYPE'
     NTYPE($1, n_NEW);
     ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2656:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($3, n_STRING));
                          ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2656:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($3, n_STRING));
                          ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
parser.y:34:21: error: no matching function for call to 'xhpast::Node::setType()
'
   ((n)->setType(type))
                     ^
parser.y:2661:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($3, n_STRING));
                          ^
parser.y:34:21: note: candidate is:
   ((n)->setType(type))
                     ^
parser.y:2661:26: note: in expansion of macro 'NTYPE'
     $$->appendChild(NTYPE($3, n_STRING));
                          ^
In file included from ast.hpp:8:0,
                 from parser.y:7:
astnode.hpp:76:13: note: xhpast::Node* xhpast::Node::setType(unsigned int)
       Node *setType(unsigned int t) {
             ^
astnode.hpp:76:13: note:   candidate expects 1 argument, 0 provided
make: *** [parser.yacc.o] Error 1