[comp.soft-sys.andrew] Bug in .ch file for view

janssen@parc.xerox.com (Bill Janssen) (05/08/91)

The method view_PostResource is declared to have a last arg with
the name "data".  Unfortunately, this fouls up the "class" parser,
which returns a class_Data token rather than a class_Name token.

You can see it in the .ih file, which has the declaration

  #define view_PostResource(self,path,type,long) \
      ((* ((void (*)())((self)->header.view_methods->routines[16]))) (self,path,type,long))

for the original method

    PostResource( struct atomlist * path, struct atom * type,
		 long data );

The parameter name should be changed.

Bill