diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-22 21:55:33 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-22 21:55:33 -0600 |
commit | 65bf06a6e9712c87802bf8c319442a8b4cb00e6f (patch) | |
tree | c1c0db0e04d8314645e73e38bb9340775583df43 | |
parent | a735180192ff900234e9c2c3ab4a7786ad7ec8d3 (diff) | |
download | cmd2-git-65bf06a6e9712c87802bf8c319442a8b4cb00e6f.tar.gz |
Updates to comments and todo list
-rw-r--r-- | cmd2/parsing.py | 4 | ||||
-rw-r--r-- | tests/test_shlexparsing.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/cmd2/parsing.py b/cmd2/parsing.py index 79d57a32..5bb8d654 100644 --- a/cmd2/parsing.py +++ b/cmd2/parsing.py @@ -47,9 +47,7 @@ class CommandParser(): self.multilineCommands = multilineCommands def parseString(self, rawinput): - #result = Statement(rawinput) - - # strip C-style and C++-style comments + # strip C-style comments # shlex will handle the python/shell style comments for us def replacer(match): s = match.group(0) diff --git a/tests/test_shlexparsing.py b/tests/test_shlexparsing.py index b69f1898..0029ca07 100644 --- a/tests/test_shlexparsing.py +++ b/tests/test_shlexparsing.py @@ -7,6 +7,8 @@ Todo List - case sensitive flag - checkout Cmd2.parseline() function which parses and expands shortcuts and such this code should probably be included in CommandParser +- get rid of legalChars + Notes: |