mitsuhiko  committed 5eb8105

fixed bug in clevercss and updated some small bits in ponyguruma

  • Participants
  • Parent commits 2f935ca
  • Branches mitsuhiko

Comments (0)

Files changed (1)


 # regular expresssions for the normal parser
 _var_def_re = re.compile(r'^([a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.+)')
-_def_re = re.compile(r'^((?:[a-zA-Z-]+)(?:\s*,\s*[a-zA-Z-]+))+\s*:\s*(.+)')
+_def_re = re.compile(r'^([a-zA-Z-]+(?:\s*,\s*[a-zA-Z-]+)*)\s*:\s*(.+)')
 _line_comment_re = re.compile(r'//.*?$')
 # list of operators
         def parse_definition():
             m =
             if m is None:
+                print `line`
                 fail('invalid syntax for style definition')
             keys = tuple(x.strip() for x in','))
             return lineiter.lineno, keys,