Skip to content

Commit

Permalink
Merge pull request #3 from P403n1x87/fix/string-reference
Browse files Browse the repository at this point in the history
fix: allow generic string in string reference
  • Loading branch information
P403n1x87 authored Dec 15, 2023
2 parents 7017b3b + 3970ac1 commit d868ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spasm/asm.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def _parse_string_ref(self, text: str) -> t.Optional[str]:
if not text.startswith("$"):
return None

return self._parse_ident(text[1:])
return text[1:]

def _parse_try_begin(self, line: str) -> t.Optional[bc.TryBegin]:
try:
Expand Down

0 comments on commit d868ce2

Please sign in to comment.