next up previous
Next: S.1.4 SOLVED: Confused Up: Scanner Bugs Previous: S.1.2 SOLVED: Brackets

S.1.3 SOLVED: Function calls in statement `heads'

---------------------------------- ## ## appears to be solved on scanner version dated 7.4.95 JP ##

A related problem appears with [per Ali]

if (fd= fopen("outfile", "a"))

in a member function. The scanner thinks this is a function declaration and gives us

if (fd= fopen("outfile", "a", int ObjectMode = Synchronous) { if (ObjectStatusFlag != Passive) {

etc... and fails further on. This seems to happen with all statements with a function call inside the brackets or any other structure that isn't reconised: it think they are funcion declaraltions. Macros constructs fail for the same reason.



Jonathan Poole
Tue Jun 27 16:38:45 BST 1995