struct card, #1/6, minor cleanup
This commit is contained in:
parent
121a46f9cb
commit
8d93511a96
|
|
@ -274,9 +274,9 @@ inp_list(FILE *file, struct line *deck, struct line *extras, int type)
|
|||
|
||||
/*
|
||||
* Free memory used by a line.
|
||||
* If recurse is TRUE then recursively free all lines linked via the li_next field.
|
||||
* If recurse is TRUE then recursively free all lines linked via the ->li_next field.
|
||||
* If recurse is FALSE free only this line.
|
||||
* All lines linked via the li_actual field are always recursivly freed.
|
||||
* All lines linked via the ->li_actual field are always recursivly freed.
|
||||
* SJB - 22nd May 2001
|
||||
*/
|
||||
void
|
||||
|
|
@ -916,7 +916,7 @@ inp_dodeck(
|
|||
ft_curckt->FTEstats->FTESTATdeckNumLines = 0;
|
||||
/*----------------------------------------------------
|
||||
Now run through the deck and look to see if there are
|
||||
errors on any line (message contained in li_error).
|
||||
errors on any line (message contained in ->li_error).
|
||||
|
||||
Error messages have been generated either by writing
|
||||
directly to ->li_error from a struct line or to
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ struct INPtables{
|
|||
GENmodel *defZmod;
|
||||
};
|
||||
|
||||
struct card{
|
||||
struct card {
|
||||
int linenum;
|
||||
int linenum_orig;
|
||||
char *line;
|
||||
|
|
|
|||
|
|
@ -79,7 +79,8 @@ to new polynomial controlled source code model syntax.
|
|||
/* out the old dependent source. */
|
||||
/* It returns (a pointer to) the processed deck. */
|
||||
/*---------------------------------------------------------------------*/
|
||||
struct line * ENHtranslate_poly(
|
||||
struct line *
|
||||
ENHtranslate_poly(
|
||||
struct line *deck) { /* Linked list of lines in input deck */
|
||||
struct line *d;
|
||||
struct line *l1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue