Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 331397
Collapse All | Expand All

(-)a/linux-atm-2.4.1/src/qgen/ql_y.y (-4 / +8 lines)
Lines 61-68 Link Here
61
	    *walk = 0;
61
	    *walk = 0;
62
	if (*start == ':') {
62
	if (*start == ':') {
63
	    if (!(searching = strcmp(start+1,name)))
63
	    if (!(searching = strcmp(start+1,name)))
64
	    {
64
		if (found) yyerror("multiple entries");
65
		if (found) yyerror("multiple entries");
65
		else found = 1;
66
		else found = 1;
67
	    }
66
	    continue;
68
	    continue;
67
	}
69
	}
68
	if (searching) continue;
70
	if (searching) continue;
Lines 308-316 Link Here
308
	    $$->pos = $2;
310
	    $$->pos = $2;
309
	    $$->flush = !$3;
311
	    $$->flush = !$3;
310
	    if ($$->pos == -1)
312
	    if ($$->pos == -1)
313
	    {
311
		if ($$->size & 7)
314
		if ($$->size & 7)
312
		    yyerror("position required for small fields");
315
		    yyerror("position required for small fields");
313
		else $$->pos = 0;
316
		else $$->pos = 0;
317
	    }
314
	    $$->value = $5;
318
	    $$->value = $5;
315
	    $$->structure = NULL;
319
	    $$->structure = NULL;
316
	    $$->next = NULL;
320
	    $$->next = NULL;
Lines 432-439 Link Here
432
	}
436
	}
433
    | TOK_ID opt_id list block
437
    | TOK_ID opt_id list block
434
	{
438
	{
435
	    $$ = alloc_t(TAG);
439
	    $<tag>$ = alloc_t(TAG);
436
	    $$->abort_id = abort_id;
440
	    $<tag>$->abort_id = abort_id;
437
	}
441
	}
438
	  tags
442
	  tags
439
	{
443
	{
Lines 475-482 Link Here
475
	}
479
	}
476
    | TOK_ID opt_id list rep_block
480
    | TOK_ID opt_id list rep_block
477
	{
481
	{
478
	    $$ = alloc_t(TAG);
482
	    $<tag>$ = alloc_t(TAG);
479
	    $$->abort_id = abort_id;
483
	    $<tag>$->abort_id = abort_id;
480
	}
484
	}
481
	    rep_tags
485
	    rep_tags
482
	{
486
	{

Return to bug 331397