From fe7c574302e86e091ee0d63d644b4d8bd3845e44 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 28 Oct 2012 18:06:10 +0100 Subject: allow # for comment --- auto-auto-complete.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2