You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code used action within a method of the class template, hence it is the full type, not the class template. Fixed the illegal code by using sexpr::action.
Hello again,
I have an error while compiling the example s_expression_2 that I don't understand :
c++ -I. -std=c++11 -stdlib=libc++ -pedantic -Wall -Wextra -Werror -O3 examples/s_expression_2.cc -o build/examples/s_expression_2
examples/s_expression_2.cc:74:32: error: no matching member function for call to 'parse'
read_parser( fn, in ).parse< main, action >( f2 );
~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
./pegtl/read_parser.hh:39:12: note: candidate template ignored: invalid explicitly-specified argument
for template parameter 'Action'
void parse( States && ... st )
^
1 error generated.
make: *** [build/examples/s_expression_2] Error 1
The text was updated successfully, but these errors were encountered: