In creating a Zen subtheme, I am allowed to put a "." in the machine-readable name. It writes a implementation of hook_theme() function in the generated template.php with the period character in its name, which causes the error
Parse error: syntax error, unexpected T_DNUMBER, expecting '('

CommentFileSizeAuthor
#2 sysname.patch1.14 KBGarrett Albright
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ifex’s picture

Similarly with the hyphen, and I guess other characters.

Garrett Albright’s picture

Status: Active » Needs review
FileSize
1.14 KB

Fixed with the addition of a single character to a regular expression. Committed. Thanks