/[ascend]/trunk/ascend/compiler/units.c
ViewVC logotype

Diff of /trunk/ascend/compiler/units.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3354 by jpye, Sun Apr 15 11:34:10 2018 UTC revision 3355 by jpye, Mon Apr 16 05:56:23 2018 UTC
# Line 742  CONST struct Units *FindOrDefineUnits(CO Line 742  CONST struct Units *FindOrDefineUnits(CO
742    return result;    return result;
743  }  }
744    
745  char *UnitsStringSI(struct Units *p)  char *UnitsStringSI(const struct Units *p)
746  {  {
747    Asc_DString ds, *dsPtr;    Asc_DString ds, *dsPtr;
748    char expo[20];    char expo[20];
# Line 849  char **UnitsExplainError(CONST char *ust Line 849  char **UnitsExplainError(CONST char *ust
849      ascfree(ERRV[2]);      ascfree(ERRV[2]);
850      ERRV[2] = NULL;      ERRV[2] = NULL;
851    }    }
852    
853    if (code<0 || code>UEELAST || ustr==NULL) {    if (code<0 || code>UEELAST || ustr==NULL) {
854      ERRV[0] = g_units_errors[UEECALL];      ERRV[0] = g_units_errors[UEECALL];
855      ERRV[1] = g_units_errors[UEECALL];      ERRV[1] = g_units_errors[UEECALL];

Legend:
Removed from v.3354  
changed lines
  Added in v.3355

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22