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;
103103 Matcher m = PoshUtils . GOTO_LABEL. matcher(capture);
104104 if (m. find()) {
105105 String label = m. group(3 );
106- onCertainlyPublish(label, yychar + yylength() - label . length( ));
106+ onCertainlyPublish(label, m . start( 3 ));
107107 return yystate();
108108 }
109109 }
Original file line number Diff line number Diff line change @@ -474,3 +474,7 @@ function Install-LabCAMachine
474474Write-Debug `$ ` {` }
475475Write-Debug $false .$true .$param
476476$ (Write-Debug $true )
477+
478+ :OuterLoop while ($true ) {
479+ while ($true ) { break OuterLoop }
480+ }
Original file line number Diff line number Diff line change 482482< a class ="l " name ="474 " href ="#474 "> 474</ a > < span class ='fold-space '> </ span > < b > Write-Debug</ b > `$`{`}
483483< 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 >
484484< 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 >
486490</ html >
Original file line number Diff line number Diff line change @@ -562,3 +562,5 @@ CRLOverlapUnitsHours
562562CRLOverlapUnits
563563CRLOverlapUnitsHours
564564CRLOverlapUnits
565+ :OuterLoop
566+ OuterLoop
You can’t perform that action at this time.
0 commit comments