Skip to content

WoutProvost/pawn-const-correctness-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pawn-const-correctness-fixer

When you have Perl installed (Linux has this installed by default), execute the following command in a command prompt to fix all occurrences of warning 214 in your script. Replace SOURCE with the name of the file you want to fix and DESTINATION with the name of the file that will store the fixed version.

perl ./warning_214_fixer.pl SOURCE DESTINATION

An example script test_input.pwn has been provided, which produces the output shown in test_output.pwn and produces the following message:

perl ./warning_214_fixer.pl ./test_input.pwn ./test_output.pwn
Fixed warning 214 a total of 6 times.

About

Perl script that fixes all occurrences of the const correctness warning 214 in a pawn script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors