mirror of
https://github.com/Ed94/refactor.git
synced 2024-11-10 04:14:53 -08:00
Fixed issue with ignoring multi-line comments.
This commit is contained in:
parent
87c939e2b6
commit
1cd4287eb2
@ -243,11 +243,13 @@ void refactor()
|
|||||||
{
|
{
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
move_forward( 2 );
|
move_forward( 1 );
|
||||||
}
|
}
|
||||||
while ( (left - 2) > 0 && !( src[0] == '*' && src[1] == '/' ) );
|
while ( (left - 2) > 0 && !( src[0] == '*' && src[1] == '/' ) );
|
||||||
|
|
||||||
move_forward( 2 );
|
move_forward( 1 );
|
||||||
|
|
||||||
|
goto Skip;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,6 +18,8 @@ write-host "Beginning refactor...`n"
|
|||||||
|
|
||||||
$refactors = @(@())
|
$refactors = @(@())
|
||||||
|
|
||||||
|
# TODO: Change this to support refactoring the other files in the project directory.
|
||||||
|
# It needs two runs, one for the regular files, one for the zpl header.
|
||||||
foreach ( $file in $targetFiles )
|
foreach ( $file in $targetFiles )
|
||||||
{
|
{
|
||||||
$destination = Join-Path $path_test (Split-Path $file -leaf)
|
$destination = Join-Path $path_test (Split-Path $file -leaf)
|
||||||
|
Loading…
Reference in New Issue
Block a user