More powerful tokenizer regex installed.
This commit is contained in:
parent
4b65c75e21
commit
6d7de5ae75
|
@ -62,7 +62,7 @@ class Emulator:
|
|||
self.changes[reg] = val
|
||||
|
||||
def processSourceLine(self, line_text, index):
|
||||
tokens = re.findall(r'[\w%:$#]+', line_text)
|
||||
tokens = re.findall(r'[^\s,]+', line_text)
|
||||
if len(tokens) <= 0:
|
||||
return index
|
||||
if tokens[0][-1] == ':':
|
||||
|
|
Loading…
Reference in New Issue
Block a user