Fixed issue with ignoring multi-line comments.

This commit is contained in:
Edward R. Gonzalez 2023-03-27 20:14:04 -04:00
parent 87c939e2b6
commit 1cd4287eb2
2 changed files with 6 additions and 2 deletions

View File

@ -243,11 +243,13 @@ void refactor()
{
do
{
move_forward( 2 );
move_forward( 1 );
}
while ( (left - 2) > 0 && !( src[0] == '*' && src[1] == '/' ) );
move_forward( 2 );
move_forward( 1 );
goto Skip;
}
}

View File

@ -18,6 +18,8 @@ write-host "Beginning refactor...`n"
$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 )
{
$destination = Join-Path $path_test (Split-Path $file -leaf)