No, I ment what I wrote.
Ok, I misunderstood the purpose of the subclass. I don't think you meant what you wrote on this line though:
if (string.width(x)) error("String contains wide characters.\n");
Find two errors. :-)
True, I forgot that I had removed the forced private of the getter/setter functions. From program.c:
/* NOTE: The function needs to have the same PRIVATE/INLINE * behaviour as the variable for overloading to behave * as expected. * * FIXME: Force PRIVATE? */
This is somewhat confusing to me. "The variable"? The setter is for "x", which is not declared as a variable. And if you were to make the setter private, wouldn't that make it impossible for B to override it in the first place?