Modify

Opened 12 years ago

Closed 12 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 by Jos, 12 years ago

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

comment:2 by lwc, 12 years ago

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 by Jos, 12 years ago

Resolution: Fixed
Status: newclosed

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

Modify Ticket

Action
as closed The owner will remain Jos.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.