diff --git a/tool/resources/org/antlr/v4/tool/templates/messages/formats/gnu.stg b/tool/resources/org/antlr/v4/tool/templates/messages/formats/gnu.stg index f243ab785..c7d06d9e8 100644 --- a/tool/resources/org/antlr/v4/tool/templates/messages/formats/gnu.stg +++ b/tool/resources/org/antlr/v4/tool/templates/messages/formats/gnu.stg @@ -31,9 +31,9 @@ This file contains the actual layout of the messages emitted by ANTLR. This file contains the format that mimicks GCC output. */ -location(file, line, column) ::= "::" +location(file, line, column) ::= ":::" -message(id, text) ::= " ()" +message(id, text) ::= " [error ]" report(location, message, type) ::= " : "