GLSL - shader compilation fails "unexpected $end at token ..."

Hi all,

does anyone know why this shader:


uniform sampler2D texture;
void main()
{
vec4 c = texture2D(texture, gl_TexCoord[0].xy);
gl_FragColor = c;
}----

fails with this message (81.98):

(0) : error C0000: syntax error, unexpected $end at token “<null atom>” (0) : error C0501: type name expected at token “<null atom>”

what is this “null atom”?

best regards,
hendrik

answering myself:

there is a newline missg after the last bracket …