I was having trouble loading many of the libraries found at:

http://library.oshec.org/

I discovered the problem was that the DRAW command in the latest versions does 
not allow comments between DRAW and ENDDRAW.  This simple patch will allow 
those comments.

=== modified file 'eeschema/class_libentry.cpp'
--- eeschema/class_libentry.cpp	2012-05-16 16:59:47 +0000
+++ eeschema/class_libentry.cpp	2012-06-01 21:37:49 +0000
@@ -854,6 +854,9 @@
         case 'B':    /* Bezier Curves */
             newEntry = ( LIB_ITEM* ) new LIB_BEZIER( this );
             break;
+	    	    
+	case '#':    /* Comment */
+            continue;
 
         default:
             aErrorMsg.Printf( wxT( "undefined DRAW command %c" ), line[0] );

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to