File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
src/org/opensolaris/opengrok/analysis/powershell
test/org/opensolaris/opengrok/analysis/powershell Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ import java.util.regex.Matcher;
103
103
Matcher m = PoshUtils . GOTO_LABEL. matcher(capture);
104
104
if (m. find()) {
105
105
String label = m. group(3 );
106
- onCertainlyPublish(label, yychar + yylength() - label . length( ));
106
+ onCertainlyPublish(label, m . start( 3 ));
107
107
return yystate();
108
108
}
109
109
}
Original file line number Diff line number Diff line change @@ -474,3 +474,7 @@ function Install-LabCAMachine
474
474
Write-Debug `$ ` {` }
475
475
Write-Debug $false .$true .$param
476
476
$ (Write-Debug $true )
477
+
478
+ :OuterLoop while ($true ) {
479
+ while ($true ) { break OuterLoop }
480
+ }
Original file line number Diff line number Diff line change 482
482
< a class ="l " name ="474 " href ="#474 "> 474</ a > < span class ='fold-space '> </ span > < b > Write-Debug</ b > `$`{`}
483
483
< a class ="l " name ="475 " href ="#475 "> 475</ a > < span class ='fold-space '> </ span > < b > Write-Debug</ b > $< b > false</ b > .$< b > true</ b > .$< b > param</ b >
484
484
< a class ="l " name ="476 " href ="#476 "> 476</ a > < span class ='fold-space '> </ span > $(< b > Write-Debug</ b > $< b > true</ b > )
485
- < a class ="l " name ="477 " href ="#477 "> 477</ a > < span class ='fold-space '> </ span > </ body >
485
+ < a class ="l " name ="477 " href ="#477 "> 477</ a > < span class ='fold-space '> </ span >
486
+ < a class ="l " name ="478 " href ="#478 "> 478</ a > < span class ='fold-space '> </ span > < a class ="xlbl " name ="OuterLoop "> :OuterLoop</ a > < b > while</ b > ($< b > true</ b > ) {
487
+ < a class ="l " name ="479 " href ="#479 "> 479</ a > < span class ='fold-space '> </ span > < b > while</ b > ($< b > true</ b > ) { < b > break</ b > < a class ="d intelliWindow-symbol " href ="#OuterLoop " data-definition-place ="defined-in-file "> OuterLoop</ a > }
488
+ < a class ="hl " name ="480 " href ="#480 "> 480</ a > < span class ='fold-space '> </ span > }
489
+ < a class ="l " name ="481 " href ="#481 "> 481</ a > < span class ='fold-space '> </ span > </ body >
486
490
</ html >
Original file line number Diff line number Diff line change @@ -562,3 +562,5 @@ CRLOverlapUnitsHours
562
562
CRLOverlapUnits
563
563
CRLOverlapUnitsHours
564
564
CRLOverlapUnits
565
+ :OuterLoop
566
+ OuterLoop
You can’t perform that action at this time.
0 commit comments