wisp
 
(Arne Babenhauserheide)
2013-03-20: actually test bracket prefixes

actually test bracket prefixes

diff --git a/Readme.txt b/Readme.txt
--- a/Readme.txt
+++ b/Readme.txt
@@ -7,7 +7,7 @@ Wisp: Whitespace-Lisp
          ((f)
           (g)))
       (h i)
-      j)
+      j))
 
 becomes
 
@@ -19,8 +19,8 @@ becomes
           : 
             f
             g
-      h i
-      . j
+        h i
+        . j
 
 
 
diff --git a/example.w b/example.w
--- a/example.w
+++ b/example.w
@@ -1,14 +1,13 @@
-defun a
-  b c
+defun a (b c)
   let
     : 
       d "i am a string
 do not break me!"
       : 
         f
-        g
+        ` g
       : 
         h
         . i
-  j k
+  , ' j k
   . l
diff --git a/wisp.py b/wisp.py
--- a/wisp.py
+++ b/wisp.py
@@ -25,7 +25,7 @@ class Line:
             while (self.content.startswith("' ") or 
                    self.content.startswith(", ") or
                    self.content.startswith("` ")):
-                self.prefix.append(self.content[0])
+                self.prefix += self.content[0]
                 self.content = self.content[2:]
         
         self.indent = len(line) - len(line.lstrip())