The command d is the command for the debugger used to go down the stack to a ‘newer frame’. It seems that the parsing cannot not handle this disambiguity.
Try renaming the variable d.
EDIT: Actually, the comments suggest much better handling than renaming.