| 3461 | } semicState; |
| 3462 | |
| 3463 | void list_error( semicState state ) |
| 3464 | { |
| 3465 | switch( state ) |
| 3466 | { |
| 3467 | case semicListTooShort: |
| 3468 | WerrorS( "the list is too short" ); |
| 3469 | break; |
| 3470 | case semicListTooLong: |
| 3471 | WerrorS( "the list is too long" ); |
| 3472 | break; |
| 3473 | |
| 3474 | case semicListFirstElementWrongType: |
| 3475 | WerrorS( "first element of the list should be int" ); |
| 3476 | break; |
| 3477 | case semicListSecondElementWrongType: |
| 3478 | WerrorS( "second element of the list should be int" ); |
| 3479 | break; |
| 3480 | case semicListThirdElementWrongType: |
| 3481 | WerrorS( "third element of the list should be int" ); |
| 3482 | break; |
| 3483 | case semicListFourthElementWrongType: |
| 3484 | WerrorS( "fourth element of the list should be intvec" ); |
| 3485 | break; |
| 3486 | case semicListFifthElementWrongType: |
| 3487 | WerrorS( "fifth element of the list should be intvec" ); |
| 3488 | break; |
| 3489 | case semicListSixthElementWrongType: |
| 3490 | WerrorS( "sixth element of the list should be intvec" ); |
| 3491 | break; |
| 3492 | |
| 3493 | case semicListNNegative: |
| 3494 | WerrorS( "first element of the list should be positive" ); |
| 3495 | break; |
| 3496 | case semicListWrongNumberOfNumerators: |
| 3497 | WerrorS( "wrong number of numerators" ); |
| 3498 | break; |
| 3499 | case semicListWrongNumberOfDenominators: |
| 3500 | WerrorS( "wrong number of denominators" ); |
| 3501 | break; |
| 3502 | case semicListWrongNumberOfMultiplicities: |
| 3503 | WerrorS( "wrong number of multiplicities" ); |
| 3504 | break; |
| 3505 | |
| 3506 | case semicListMuNegative: |
| 3507 | WerrorS( "the Milnor number should be positive" ); |
| 3508 | break; |
| 3509 | case semicListPgNegative: |
| 3510 | WerrorS( "the geometrical genus should be nonnegative" ); |
| 3511 | break; |
| 3512 | case semicListNumNegative: |
| 3513 | WerrorS( "all numerators should be positive" ); |
| 3514 | break; |
| 3515 | case semicListDenNegative: |
| 3516 | WerrorS( "all denominators should be positive" ); |
| 3517 | break; |
| 3518 | case semicListMulNegative: |
| 3519 | WerrorS( "all multiplicities should be positive" ); |
| 3520 | break; |
no test coverage detected