Closed Bug 554617 Opened 14 years ago Closed 6 years ago

getlex opcode cannot be assembled without a multiname qualifier

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: simonzack, Assigned: tharwood)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2 (.NET CLR 3.5.30729)
Build Identifier: 

assembling the opcode:
    57      getlex        	flash.events::MouseEvent

(which is what abcdump generated)
gives a syntax error


Reproducible: Always

Steps to Reproduce:
1.assemble the above line
2.
3.
Actual Results:  
syntax error

Expected Results:  
assembles correctly even without multiname qualifiers
Component: Tools → Virtual Machine
QA Contact: tools → vm
Flags: flashplayer-qrb?
Digging a little deeper, this is actually a grammar bug

the rule: ".exception"
and the rule: namespace_specification conflict, and some others do as well (all the ones that begin with DOT)

this is the actual bug
Assignee: nobody → tharwood
OS: Windows XP → All
Hardware: x86 → All
Target Milestone: --- → Future
I've assigned the bug to the abcasm author, but if you have a suggested fix, feel free to post it with or without a test case.  Thanks!
abcasm name processing in general is still alpha-level at best.  Thanks for the analysis!
Depends on: 491551
Attached file grammar fix (obsolete) —
no probs
attached a fix for grammar
btw I've only fixed the existing bug in multi-name processing
now "{flash.event}" won't conflict with ".exception"
but there is still no way to write unqualified names
atm abcdump just outputs ns1::foo
Is abcasm in alpha stage too? Most of the abs files I feed it aren't processed at all
Attachment #435352 - Attachment is patch: true
Attachment #435352 - Attachment mime type: application/octet-stream → text/plain
Attachment #435352 - Attachment is patch: false
(In reply to comment #5)

> Is abcasm in alpha stage too? Most of the abs files I feed it aren't processed
> at all

Yes, the assembler is an Alpha stage project.  One of its goals is to round-trip files (i.e., abcdump an ABC, assemble the dump output, get an equivalent ABC back), but that's a long-term goal.
Resubmitting previous attachment as a patch.
Attachment #435352 - Attachment is obsolete: true
The patch as written is giving lots of errors in regression testing, but I think syntactic predicates will do the trick.
Flags: flashplayer-qrb? → flashplayer-qrb+
Component: Virtual Machine → Tools
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: