Skip to content

Fix parser bug related to constants #50

@MalteT

Description

@MalteT

impl From<MemAddress> for ByteOrLabel {
fn from(mem: MemAddress) -> Self {
match mem {
MemAddress::Constant(c) => c.into(),
MemAddress::Register(_reg) => unimplemented!("How to make a const from a register"),
}
}
}

The above is potential cause for a panic and is related to a parser bug. This might need some research.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions