Changeset 111501 in spip-zone
- Timestamp:
- Sep 5, 2018, 4:24:00 PM (2 years ago)
- Location:
- _plugins_/crayons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/crayons/branches/v3/inc/crayons.php
r102858 r111501 441 441 } 442 442 $sta = 1; 443 continue;443 break; 444 444 } 445 445 if (!$sta) { 446 446 $sta = 1; 447 continue;447 break; 448 448 } 449 449 case 2: … … 451 451 case 'not': 452 452 $sta = 3; 453 continue;453 break; 454 454 case 'default': 455 455 $sta = 4; 456 continue;457 } 458 continue;456 break; 457 } 458 break; 459 459 case 3: 460 460 $ret['notnull'] = strtolower($mot) == 'null'; 461 461 $sta = 2; 462 continue;462 break; 463 463 case 4: 464 464 $df1 = strpos('"\'', $mot[0]) !== false? $mot[0] : ''; … … 468 468 if (!$df1) { 469 469 $sta = 2; 470 continue;470 break; 471 471 } 472 472 if ($df1 == $mot[strlen($mot) - 1]) { … … 475 475 } 476 476 $sep = ' '; 477 continue;477 break; 478 478 } 479 479 } -
_plugins_/crayons/trunk/inc/crayons.php
r102858 r111501 441 441 } 442 442 $sta = 1; 443 continue;443 break; 444 444 } 445 445 if (!$sta) { 446 446 $sta = 1; 447 continue;447 break; 448 448 } 449 449 case 2: … … 451 451 case 'not': 452 452 $sta = 3; 453 continue;453 break; 454 454 case 'default': 455 455 $sta = 4; 456 continue;457 } 458 continue;456 break; 457 } 458 break; 459 459 case 3: 460 460 $ret['notnull'] = strtolower($mot) == 'null'; 461 461 $sta = 2; 462 continue;462 break; 463 463 case 4: 464 464 $df1 = strpos('"\'', $mot[0]) !== false? $mot[0] : ''; … … 468 468 if (!$df1) { 469 469 $sta = 2; 470 continue;470 break; 471 471 } 472 472 if ($df1 == $mot[strlen($mot) - 1]) { … … 475 475 } 476 476 $sep = ' '; 477 continue;477 break; 478 478 } 479 479 }
Note: See TracChangeset
for help on using the changeset viewer.