fabhours / altium-designer-addons

Automatically exported from code.google.com/p/altium-designer-addons
0 stars 1 forks source link

eagle2ad_sch.ulp parse error #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run eagle2ad_sch_1_4.ulp in eagle 4.13

What is the expected output? What do you see instead?

Output a Altium schematic file.
Stops with parse error. line 588

What version of the product are you using? On what operating system?

eagle2ad_sch_1_4.ulp
eagle 4.13
Windows 7 x64

Please provide any additional information below.

make part fails on printf in PIN_DIRECTION_SUP condition
---------------------------------------------------------
int MakePart(UL_SYMBOL S, UL_PART P, int OwnerPart, int Records, int partcount){

//  printf("*** Bauteil ***\n");

    S.pins(Pi){
        printf(PinRecord(Pi,OwnerPart-2,Records,partcount));
        Records+=1;
        if (Pi.direction==PIN_DIRECTION_SUP){
                printf(ConvString(NetLabelRecord(Pi.net, Pi.x, Pi.y)));
                Records+=1;
--------------------------------------------------------------

Original issue reported on code.google.com by bertil.b...@gmail.com on 28 Nov 2011 at 11:39

GoogleCodeExporter commented 9 years ago
the line should be 596

Original comment by bertil.b...@gmail.com on 28 Nov 2011 at 11:46

GoogleCodeExporter commented 9 years ago
this is a bug that is related to eagle version 4.13. When using same schema in 
version 5.11 there is no problem

Original comment by bertil.b...@gmail.com on 1 Dec 2011 at 12:09