> > Yes, there is a reason: > > As it was explained before, lemon would not display token names but > actual token "values". So instead of "Unexpected T_PAABLAH" it would say > "Unexpected '::' ..." >
hello, value of some tokens is not what would be expected either. Think a bit about T_STRING for example. There should be a smart algorithm implemented. BTW bison-createdparsercan use a callback (yytnamerr) to replace tokens with something human-readable. Why not use it? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php