Patches by Jens B. Jorgensen with small mods by me:

- Converted the templates to use ANSI C prototypes (finally!)
- Use re in stead of deprecated regex
This commit is contained in:
Jack Jansen 2001-12-27 23:35:43 +00:00
parent b9526515b7
commit 9aaee933da
17 changed files with 60 additions and 146 deletions

View file

@ -30,8 +30,8 @@ import string
oops = 'oops'
IDENTSTARTCHARS = string.ascii_letters + '_'
IDENTCHARS = string.ascii_letters + string.digits + '_'
IDENTSTARTCHARS = string.letters + '_'
IDENTCHARS = string.letters + string.digits + '_'
# Check that string is a legal C identifier
def checkid(str):