@@ 399-407 (lines=9) @@ | ||
396 | case 1: |
|
397 | case 2: |
|
398 | case 3: |
|
399 | case 4: |
|
400 | if ($next == '=') { |
|
401 | $tokens[] = $formula[$i] . '='; |
|
402 | $i++; |
|
403 | } |
|
404 | else { |
|
405 | $tokens[] = $formula[$i]; |
|
406 | } |
|
407 | break; |
|
408 | case 5: |
|
409 | if ($next == '&') { |
|
410 | $tokens[] = '&&'; |
|
@@ 408-416 (lines=9) @@ | ||
405 | $tokens[] = $formula[$i]; |
|
406 | } |
|
407 | break; |
|
408 | case 5: |
|
409 | if ($next == '&') { |
|
410 | $tokens[] = '&&'; |
|
411 | $i++; |
|
412 | } |
|
413 | else { |
|
414 | $tokens[] = $formula[$i]; |
|
415 | } |
|
416 | break; |
|
417 | case 6: |
|
418 | if ($next == '|') { |
|
419 | $tokens[] = '||'; |
|
@@ 417-425 (lines=9) @@ | ||
414 | $tokens[] = $formula[$i]; |
|
415 | } |
|
416 | break; |
|
417 | case 6: |
|
418 | if ($next == '|') { |
|
419 | $tokens[] = '||'; |
|
420 | $i++; |
|
421 | } |
|
422 | else { |
|
423 | $tokens[] = $formula[$i]; |
|
424 | } |
|
425 | break; |
|
426 | } |
|
427 | } |
|
428 | else { |