fixed 2X_BIT bug

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@172 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2003-12-13 17:44:01 +00:00
parent 4dd58cb8d3
commit 31f6e6221e

View File

@ -120,7 +120,7 @@ my %regex = (
prefix => qr/^(?:[aw]?gl|glX)/, # (agl,wgl,glX) + cluster wo/ capturing
tprefix => qr/^(?:[AW]?GL|GLX)_/, # (AGL,WGL,GLX) + cluster wo/ capturing
section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec
token => qr/^([A-Z][A-Z0-9_]*):?\s+((?:0x)?[0-9A-F]+)(.*)$/, # define tokens
token => qr/^([A-Z0-9][A-Z0-9_]*):?\s+((?:0x)?[0-9A-F]+)(.*)$/, # define tokens
types => compile_regex('\b(', join('|', keys %typemap), ')\b'), # var types
voidtype => compile_regex('\b(', keys %voidtypemap, ')\b '), # void type
);