Negative Character Value at lemon.c:2457 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
parseonetoken (/home/sate/Testcases/c/cve/wireshark-1.2.0/tools/lemon/lemon.c)![]() | ||||||
![]() | ||||||
2447 | psp->errorcnt++; | |||||
2448 | }else{ | |||||
2449 | sp->fallback = psp->fallback; | |||||
2450 | psp->gp->has_fallback = 1; | |||||
2451 | } | |||||
2452 | } | |||||
2453 | break; | |||||
2454 | case WAITING_FOR_WILDCARD_ID: | |||||
2455 | if( x[0]=='.' ){ | |||||
2456 | psp->state = WAITING_FOR_DECL_OR_RULE; | |||||
2457 | }else if( !isupper(x[0]) ){
| |||||
2458 | ErrorMsg(psp->filename, psp->tokenlineno, | |||||
2459 | "%%wildcard argument \"%s\" should be a token", x); | |||||
2460 | psp->errorcnt++; | |||||
2461 | }else{ | |||||
2462 | struct symbol *sp = Symbol_new(x); | |||||
2463 | if( psp->gp->wildcard==0 ){ | |||||
2464 | psp->gp->wildcard = sp; | |||||
2465 | }else{ | |||||
2466 | ErrorMsg(psp->filename, psp->tokenlineno, | |||||
2467 | "Extra wildcard to token: %s", x); | |||||
![]() |