fix stack-overflow exception when parsing an empty shade file