[antlr-interest] Strange error message

Gavin Lambert antlr at mirality.co.nz
Sun Dec 16 12:00:29 PST 2007


At 08:12 17/12/2007, Johannes Luber wrote:
 >Does anyone know the source of the follwing error message?
 >
 >"[20:06:43] error(114):
 >/home/verequus/Studium/Diplomarbeit_Experimental/CSharpML/CSharp3Pa
 >rserSyntax.g:0:0: attribute is not a token, parameter, or return 

 >value: member"
 >
 >I don't find any rule which includes the string "member" as the
 >whole string so I'm mystified where to check for the cause.

Well, I can't be too specific without seeing your grammar, but you 
could try turning off "whole word search" in your 
editor.  Sometimes that won't find things like "$member".  (And 
usually this sort of error would be generated from either 
"$member" or "$*.member".)



More information about the antlr-interest mailing list