[Compiler-sig] Assign nodes

Neal Norwitz neal@metaslash.com
Wed, 17 Apr 2002 08:16:33 -0400


Jeremy:

In ast_for_augassign (astmodule.c), you are attempting to find
the assign type, but is it correct for <<= and >>= ?

Don't you need to add something like:

	case '<':
	        if (STR(n)[1] == '<')
			return LShift;
		fprintf(stderr, "invalid augassign: %s", STR(n));
		return 0;

And the same for the '>'?

Also, do you want me to do some little cleanups and checkin?
Or would you prefer to discuss here first?

Do you have any small pieces you want me to try to help with?

Neal