From e89869a563a5439094d4e28e2cac09d962de4d5d Mon Sep 17 00:00:00 2001 From: Sei Lisa Date: Sat, 13 Dec 2014 13:12:02 +0100 Subject: [PATCH] Add TODOs --- lslopt/lslparse.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lslopt/lslparse.py b/lslopt/lslparse.py index dad668f..de87cc2 100644 --- a/lslopt/lslparse.py +++ b/lslopt/lslparse.py @@ -798,6 +798,8 @@ class parser(object): if tok0 == '(': # Parenthesized expression or typecast + # TODO: Don't include parentheses in the tree, defer to the output + # module to add them where necessary. self.NextToken() if self.tok[0] != 'TYPE': @@ -1828,6 +1830,9 @@ class parser(object): # TODO: Enable brackets for list elements e.g. (float)mylist[3], or mylist[5]=4 #self.lazylists = 'lazylists' in options + # TODO: Enable break/continue + #self.breakcont = 'breakcont' in options + # Enable use of local labels with duplicate names self.duplabels = 'duplabels' in options