Subversion Repositories tendra.SVN

Rev

Rev 6 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6 Rev 82
Line 238... Line 238...
238
		}
238
		}
239
	}
239
	}
240
 
240
 
241
	if (td->defined == 0) {
241
	if (td->defined == 0) {
242
		/* detect various errors and give helpful information */
242
		/* detect various errors and give helpful information */
243
		if (td->defined == 0) {
-
 
-
 
243
 
244
			failer(UNDEFINED_TOK);
244
		failer(UNDEFINED_TOK);
245
		}
-
 
246
 
245
 
247
		if (td->is_capsule_token &&
246
		if (td->is_capsule_token &&
248
		    td->tok_index < capsule_no_of_tokens &&
247
		    td->tok_index < capsule_no_of_tokens &&
249
		    td->tok_index >= 0 &&
248
		    td->tok_index >= 0 &&
250
		    td->tok_name != (char *)0) {
249
		    td->tok_name != (char *)0) {
Line 266... Line 265...
266
				} else {
265
				} else {
267
					IGNORE fprintf(stderr,
266
					IGNORE fprintf(stderr,
268
					    "token number out of bounds\n");
267
					    "token number out of bounds\n");
269
				}
268
				}
270
			}
269
			}
271
			exit(EXIT_FAILURE);
-
 
272
		}
270
		}
-
 
271
		exit(EXIT_FAILURE);
273
	}
272
	}
274
 
273
 
275
	{
274
	{
276
		/* number of parameters */
275
		/* number of parameters */
277
		int npars = td->params.number;
276
		int npars = td->params.number;