diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-10-28 18:06:10 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-10-28 18:06:10 +0100 |
commit | fe7c574302e86e091ee0d63d644b4d8bd3845e44 (patch) | |
tree | d178557ed3bb0dd2a02008494e9170056efb211f | |
parent | tree parser (diff) | |
download | auto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.gz auto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.bz2 auto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.xz |
allow # for comment
-rw-r--r-- | auto-auto-complete.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto-auto-complete.py b/auto-auto-complete.py index bd10b97..3fde092 100644 --- a/auto-auto-complete.py +++ b/auto-auto-complete.py @@ -84,7 +84,7 @@ class Parser: buf += c elif c == quote: quote = None - elif (c == ';') and (quote is None): + elif (c in ';#') and (quote is None): if buf is not None: stack[stackptr].append(buf) buf = None |