Commit 5205edda authored by Simon Marlow's avatar Simon Marlow

add '-' to the chars allowed in C header file names

parent c3d5b523
......@@ -1012,7 +1012,7 @@ parseCImport cconv safety nm str =
mk = CImport cconv safety
hdr_char c = isAscii c && (isAlphaNum c || c `elem` "._")
hdr_char c = isAscii c && (isAlphaNum c || c `elem` "._-")
id_char c = isAlphaNum c || c == '_'
cimp nm = (ReadP.char '&' >> skipSpaces >> CLabel <$> cid)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment