projects
/
matthijs
/
master-project
/
cλash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0fa161
)
Also allow uppercase letters and a period in VHDL ids.
author
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 19 Feb 2009 14:13:45 +0000
(15:13 +0100)
committer
Matthijs Kooijman
<m.kooijman@student.utwente.nl>
Thu, 19 Feb 2009 14:13:45 +0000
(15:13 +0100)
VHDL.hs
patch
|
blob
|
history
diff --git
a/VHDL.hs
b/VHDL.hs
index 4ab3be33ec2ba1a9a4647d62703e0efb801c811d..37bcd74c461a8f4b2b9b57fe2f2d411257f77dca 100644
(file)
--- a/
VHDL.hs
+++ b/
VHDL.hs
@@
-330,4
+330,4
@@
mkVHDLId s =
AST.unsafeVHDLBasicId s'
where
-- Strip invalid characters.
- s' = filter (`elem` ['
a'..'z'] ++ ['0'..'9'] ++ ['_']
) s
+ s' = filter (`elem` ['
A'..'Z'] ++ ['a'..'z'] ++ ['0'..'9'] ++ "_."
) s