changeset 11:9ad2e3f1c58c

Fix #2: bug in string parsing
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Tue, 31 Jul 2012 15:21:22 +0200
parents 0a9f44133fb4
children 4f85c429521e
files iscconf/parser.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/iscconf/parser.py	Tue Jul 31 15:20:50 2012 +0200
+++ b/iscconf/parser.py	Tue Jul 31 15:21:22 2012 +0200
@@ -30,7 +30,7 @@
 
 def t_STRING(t):
     r'"([^"]|\\")*"'
-    t.value = t.value[1:1]
+    t.value = t.value[1:-1]
     return t
 
 def t_newline(t):