struct line, add array of short, for nesting depth 10
This commit is contained in:
parent
f4e93da7b4
commit
d0cea70e88
|
|
@ -21,6 +21,7 @@ struct line {
|
||||||
char *li_error;
|
char *li_error;
|
||||||
struct line *li_next;
|
struct line *li_next;
|
||||||
struct line *li_actual;
|
struct line *li_actual;
|
||||||
|
unsigned short level[NESTINGDEPTH];
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
/* Listing types. */
|
/* Listing types. */
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ typedef struct INPtables INPtables;
|
||||||
typedef struct card card;
|
typedef struct card card;
|
||||||
typedef struct INPmodel INPmodel;
|
typedef struct INPmodel INPmodel;
|
||||||
|
|
||||||
|
#define NESTINGDEPTH 10
|
||||||
|
|
||||||
struct INPtab {
|
struct INPtab {
|
||||||
char *t_ent;
|
char *t_ent;
|
||||||
|
|
@ -68,6 +69,7 @@ struct card{
|
||||||
char *error;
|
char *error;
|
||||||
card *nextcard;
|
card *nextcard;
|
||||||
card *actualLine;
|
card *actualLine;
|
||||||
|
unsigned short level[NESTINGDEPTH];
|
||||||
};
|
};
|
||||||
|
|
||||||
/* structure used to save models in after they are read during pass 1 */
|
/* structure used to save models in after they are read during pass 1 */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue