Lines Matching refs:lineno
2615 void boom(char *string,int lineno){
2616 fprintf(stderr,"Fatal error at line %d %s\n",lineno,string);
2708 int lineno = 0;
2801 lineno++;
2802 if(!fgets(inbuf,MAXLINE,fpi))boom("Unexpected end of file - no DONE:",lineno);
2817 if((tsp.fi_idx = ftinfo_load_fontname(tri->fti, fontspec)) < 0 )boom("Font load failed",lineno);
2821 if(1 != sscanf(data,"%lf",&escapement))boom("Invalid ESC:",lineno);
2824 if(1 != sscanf(data,"%lf",&tsp.ori))boom("Invalid ORI:",lineno);
2827 if(1 != sscanf(data,"%lf",&tsp.fs) || tsp.fs <= 0.0)boom("Invalid FS:",lineno);
2831 if(2 != sscanf(data,"%lf,%lf",&tsp.x,&tsp.y) )boom("Invalid XY:",lineno);
2844 if(trinfo_load_textrec(tri, &tsp, escapement,flags)){ boom("Text load failed",lineno); }
2846 else if(status){ boom("Text load failed",lineno); }
2854 default: boom("Invalid ALN:",lineno);
2860 default: boom("Invalid ALN:",lineno);
2868 boom("Invalid LDIR:",lineno);
2871 if(1 != sscanf(data,"%lf",&fact) || fact <= 0.0)boom("Invalid MUL:",lineno);
2875 if(1 != sscanf(data,"%d",&tsp.italics) || tsp.italics < 0 || tsp.italics>110)boom("Invalid ITA:",lineno);
2878 if(1 != sscanf(data,"%d",&tsp.weight) || tsp.weight < 0 || tsp.weight > 215)boom("Invalid WGT:",lineno);
2881 if(1 != sscanf(data,"%X",(unsigned int *) &tsp.decoration))boom("Invalid DEC:",lineno);
2884 if(1 != sscanf(data,"%d",&tsp.condensed) || tsp.condensed < 50 || tsp.condensed > 200)boom("Invalid CND:",lineno);
2887 if(1 != sscanf(data,"%d",&bkmode) )boom("Invalid BKG:",lineno);
2891 if(1 != sscanf(data,"%x",&utmp32) )boom("Invalid CLR:",lineno);
2898 if(1 != sscanf(data,"%x",&utmp32) )boom("Invalid DCLR:",lineno);
2912 if(1 != sscanf(data,"%x",&utmp32) )boom("Invalid BCLR:",lineno);
2919 if(1 != sscanf(data,"%d",&flags) )boom("Invalid FLAG:",lineno);
2936 boom("Input line cannot be parsed",lineno);