Compare commits
2 Commits
3f885724fd
...
3af135e1d9
Author | SHA1 | Date | |
---|---|---|---|
|
3af135e1d9 | ||
e15991af44 |
|
@ -2,8 +2,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- '*'
|
||||||
- github-actions
|
|
||||||
|
|
||||||
name: fox32asm Unstable - Linux
|
name: fox32asm Unstable - Linux
|
||||||
|
|
||||||
|
|
|
@ -695,6 +695,8 @@ fn parse_data(pair: pest::iterators::Pair<Rule>) -> AstNode {
|
||||||
let ast = parse_operand(pair.into_inner().nth(1).unwrap(), false);
|
let ast = parse_operand(pair.into_inner().nth(1).unwrap(), false);
|
||||||
if let AstNode::Immediate32(word) = ast {
|
if let AstNode::Immediate32(word) = ast {
|
||||||
word
|
word
|
||||||
|
} else if let AstNode::Constant {name: _, address} = ast {
|
||||||
|
address
|
||||||
} else {
|
} else {
|
||||||
unreachable!()
|
unreachable!()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user