If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
NEW : We have got a new blog where we post some interesting SWF internals info.

#687 P-code comments on separate line
Author:
loki

Date created:
Type: feature
Visibility: Everybody
Assigned to:
JPEXS

Labels: P-code
State: opened 

> What steps will reproduce the problem?
Take a working P-code replacement file, and put "; comment here" as the first line.
> What is the expected output? What do you see instead?
I'd think any line beginning with ; would be ignored, but I get:
Replace AS3 PCode
Invalid instruction name:comment on line 1
> What version of the product are you using? On what operating system?
3.0.0 on Linux Mint 16.
> Please provide any additional information below. Attach the file you have problem with
if neccessary. If you do not want to publish files YOU CAN CHANGE VISIBILITY TO PRIVATE
Hi,
the comments in AS3 P-code currently can be placed only at end of the instruction line.
This makes the comment associated with the instruction during the SWF is opened in the
GUI.
The comments are lost after closing GUI.
pushstring "aaa" ;valid instruction comment
;invalid comment
pushint 59
I can make the whole line comments ignored as "new feature"... but they won't be shown in
the GUI, so this will be P-code commandline replacement feature only.
State: new→opened
Title: P-code comments give error→P-code comments on separate line
Type: bug→feature
Assigned: →
JPEXS
Title: P-code comments give error→P-code comments on separate line
Type: bug→feature
Assigned: →

Tip: You can create comments with "no instruction" like this:
nop ;comment here
since nop instruction does nothing
Thank you so much! This works perfect, having space for comments this way is far better
than none at all. :)