Branch: Tag:


2017-07-08 09:16:46 by Henrik Grubbström (Grubba) <>

Compiler: Provide descriptive strings for all tokens.

Instead of showing the internal TOK_* symbol in parser errors
(like eg 'TOK_LOR'), the parser should now show its corresponding
token (like eg '||').

Fixes [bug 2711 (#2711)].

2849:   AC_MSG_CHECKING(for yacc clone that handles %pure_parser)   AC_CACHE_VAL(pike_cv_prog_working_yacc,   [ - for YACC in pyacc byacc "bison -y" yacc "None"; do + for YACC in pyacc "byacc -s" "bison -y" yacc "None"; do    set dummy $YACC; ac_word=$2    has_it=no    IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"