Opened 10 years ago
Closed 10 years ago
#2742 closed Bug (Fixed)
#Au3Stripper_Parameters=/RenameMinimum doesn't work
Reported by: | lwc | Owned by: | Jos |
---|---|---|---|
Milestone: | Component: | SciTE4AutoIt | |
Version: | 3.3.12.0 | Severity: | None |
Keywords: | au3stripper | Cc: |
Description
I've tried the new Stripper and its /RenameMinimum parameter doesn't seem to do anything. According to the docs, it's supposed to be "substituting function and variable names". In my case, the original names still remain in scripname_stripped.au3
Attachments (0)
Change History (3)
comment:1 Changed 10 years ago by Jos
comment:2 Changed 10 years ago by lwc
Dear Jos, I've specified "Version: 3.3.12.0" in this ticket's settings because that's what I use.
Original script:
#AutoIt3Wrapper_Run_Au3Stripper=y #Au3Stripper_Parameters=/RenameMinimum $jos="Jos" msgbox("", "", return_a_message($jos)) func return_a_message($msg) $output = "Hey " & $msg return $output endfunc
Stripped script:
$jos="Jos" msgbox("", "", return_a_message($jos)) func return_a_message($msg) $output = "Hey " & $msg return $output endfunc
comment:3 Changed 10 years ago by Jos
- Resolution set to Fixed
- Status changed from new to closed
The indicated version is for AutoIt3 and there is no relation to the version of au3stripper.
When running your script through Au3Stripper in SciTE, I got the following console output:
>"C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper\Au3Stripper.exe""D:\Development\AutoIt3\programs\test\test.au3" - Invalid Au3Stripper option: /renameminimum - 0.06 Iteration 1 Strip Functions result: Output 6 lines, stripped 0 Func lines and 5 Commentlines - 0.06 Iteration 2 Strip Variables result: Output 6 lines and stripped 0 lines +> 0 Au3Stripper v1.2.1.0 finished merging 11 lines of code, stripped 5 comment lines and Merged 0 Continuation lines.
This shows the error and the version.
Anyway, there was indeed a typo in the lexing of the commandline which is now fixed in the current Beta version of Au3Stripper.
Thanks for the report,
Jos
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
My crystal ball is broken so need more input.
show the source at minimum and specify the release au3stripper you use.
By the way: posting a question in the forum works better for questions unless it is a proven bug.
Jos