mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
d: change the name of the custom error message function to reportSyntaxError
Changed from syntax_error to reportSyntaxError to be similar to the Java parser. * data/skeletons/lalr1.d: Change the function name. * doc/bison.texi: Document it. * tests/local.at: Adjust.
This commit is contained in:
committed by
Akim Demaille
parent
5945da031e
commit
0e51f6146a
@@ -891,7 +891,7 @@ public string transformToken(]AT_API_PREFIX[Parser.SymbolKind token)
|
||||
return res;
|
||||
}
|
||||
|
||||
public void syntax_error(]AT_API_PREFIX[Parser.Context ctx)
|
||||
public void reportSyntaxError(]AT_API_PREFIX[Parser.Context ctx)
|
||||
{
|
||||
stderr.write(]AT_LOCATION_IF([[ctx.getLocation(), ": ",]])["syntax error");
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user