g2asc puts the region id color table in the global object, but also adds "color" commands (that would do the same thing). asc2g does not support the "color" command. Either the color commands should be eliminated from g2asc, or asc2g should support the "color" command. I would just remove the "color" commands from g2asc, but I'm not certain why they were added in the first place. Is there a reason for this duplication?
This behavior can be reproduced by:
g2asc ktank.g tmp,asc
asc2g tmp.asc tmp.g