home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make curses client capable of websocket _and_ raw tcp connections.
[plomrogue2-experiments]
/
new2
/
plomrogue
/
parser.py
diff --git
a/new2/plomrogue/parser.py
b/new2/plomrogue/parser.py
index b350ee57298d10740c8d78f047689633c7733fd3..5782d695fe1f026d4dc2b00f422cda389fae9988 100644
(file)
--- a/
new2/plomrogue/parser.py
+++ b/
new2/plomrogue/parser.py
@@
-106,6
+106,8
@@
class Parser:
if not arg.isdigit():
raise ArgError('Argument must be non-negative integer.')
args += [int(arg)]
if not arg.isdigit():
raise ArgError('Argument must be non-negative integer.')
args += [int(arg)]
+ elif tmpl == 'yx_tuple:nonneg':
+ args += [self.parse_yx_tuple(arg, 'nonneg')]
elif tmpl == 'yx_tuple:pos':
args += [self.parse_yx_tuple(arg, 'pos')]
elif tmpl == string_string:
elif tmpl == 'yx_tuple:pos':
args += [self.parse_yx_tuple(arg, 'pos')]
elif tmpl == string_string: