aboutsummaryrefslogtreecommitdiffstats
path: root/auto-auto-complete.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-28 18:06:10 +0100
committerMattias Andrée <maandree@operamail.com>2012-10-28 18:06:10 +0100
commitfe7c574302e86e091ee0d63d644b4d8bd3845e44 (patch)
treed178557ed3bb0dd2a02008494e9170056efb211f /auto-auto-complete.py
parenttree parser (diff)
downloadauto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.gz
auto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.bz2
auto-auto-complete-fe7c574302e86e091ee0d63d644b4d8bd3845e44.tar.xz
allow # for comment
Diffstat (limited to 'auto-auto-complete.py')
-rw-r--r--auto-auto-complete.py2
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