~ubuntu-branches/ubuntu/jaunty/electric/jaunty

« back to all changes in this revision

Viewing changes to com/sun/electric/tool/io/input/DEF.java

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-01-08 02:05:08 UTC
  • mfrom: (1.1.2 upstream) (3.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090108020508-0h3li7zt9mu5gf0i
Tags: 8.08-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
106
106
                // read the file
107
107
                try
108
108
                {
109
 
                        readFile(lib);
110
 
                } catch (IOException e)
 
109
                        if (!readFile(lib)) return null; // error during reading
 
110
        } catch (IOException e)
111
111
                {
112
112
                        System.out.println("ERROR reading DEF libraries");
113
113
                }
699
699
                                return true;
700
700
                        }
701
701
                        PortInst pi = ni.findPortInstFromProto(np.getPort(0));
702
 
                        Export e = Export.newInstance(cell, pi, pinName);
 
702
                        Export e = Export.newInstance(cell, pi, pinName, portCharacteristic);
703
703
                        if (e == null)
704
704
                        {
705
705
                                reportError("Unable to create pin name");
706
706
                                return true;
707
707
                        }
708
 
                        e.setCharacteristic(portCharacteristic);
709
708
                }
710
709
                return false;
711
710
        }