This document describes the changes made to the Parsetools application.
Several modifications of Yecc have been made:
file/1,2
take the
role of the old functions yecc/2,3,4
. The
latter functions are no longer documented but are
kept for backward compatibility.'$undefined'
but cause a failure.Expect
can
be used to suppress this warning.Nonassoc
can be used to declare operators with
no associativity.parse_and_scan/1
in the
default includefile accepts {Function, A}
as well as {{M,F}, A} as tokenizer function.
Exceptions in the tokenizer are never caught.yecc:file/1,2
can be accessed
from the Erlang shell via the new functions c:y/1,2
in STDLIB.See yecc(3) for further details.
Yecc
that was introduced in R9B has been
removed. Another bug concerning precedence declaration
"one level up" has been fixed.
parsetools/include/yeccpre.hrl
caused yecc:parse_and_scan/1
to always report a
parse failure when the lexer reported end-of-file. This
problem has been fixed.