Code Duplication    Length = 38-38 lines in 2 locations

src/main/java/it/cnr/istc/pst/platinum/ai/lang/ddl/v3/parser/ddl3Parser.java 2 locations

@@ 2574-2611 (lines=38) @@
2571
					break;
2572
				case 10:
2573
					{
2574
					switch ( input.LA(3) ) {
2575
					case VarID:
2576
						{
2577
						int LA8_7 = input.LA(4);
2578
						if ( (synpred35_ddl3()) ) {
2579
							alt8=1;
2580
						}
2581
						else if ( (true) ) {
2582
							alt8=2;
2583
						}
2584
2585
						}
2586
						break;
2587
					case ID:
2588
						{
2589
						alt8=2;
2590
						}
2591
						break;
2592
					case INT:
2593
					case 14:
2594
					case 16:
2595
					case 54:
2596
						{
2597
						alt8=1;
2598
						}
2599
						break;
2600
					default:
2601
						if (state.backtracking>0) {state.failed=true; return retval;}
2602
						int nvaeMark = input.mark();
2603
						try {
2604
							for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) {
2605
								input.consume();
2606
							}
2607
							NoViableAltException nvae =
2608
								new NoViableAltException("", 8, 4, input);
2609
							throw nvae;
2610
						} finally {
2611
							input.rewind(nvaeMark);
2612
						}
2613
					}
2614
					}
@@ 2530-2567 (lines=38) @@
2527
				switch ( input.LA(2) ) {
2528
				case 22:
2529
					{
2530
					switch ( input.LA(3) ) {
2531
					case VarID:
2532
						{
2533
						int LA8_5 = input.LA(4);
2534
						if ( (synpred35_ddl3()) ) {
2535
							alt8=1;
2536
						}
2537
						else if ( (true) ) {
2538
							alt8=2;
2539
						}
2540
2541
						}
2542
						break;
2543
					case ID:
2544
						{
2545
						alt8=2;
2546
						}
2547
						break;
2548
					case INT:
2549
					case 14:
2550
					case 16:
2551
					case 54:
2552
						{
2553
						alt8=1;
2554
						}
2555
						break;
2556
					default:
2557
						if (state.backtracking>0) {state.failed=true; return retval;}
2558
						int nvaeMark = input.mark();
2559
						try {
2560
							for (int nvaeConsume = 0; nvaeConsume < 3 - 1; nvaeConsume++) {
2561
								input.consume();
2562
							}
2563
							NoViableAltException nvae =
2564
								new NoViableAltException("", 8, 3, input);
2565
							throw nvae;
2566
						} finally {
2567
							input.rewind(nvaeMark);
2568
						}
2569
					}
2570
					}