mirror of
https://github.com/nigels-com/glew.git
synced 2025-01-18 18:45:54 +00:00
Handle expanded tokens
Extensions, especially EGL, now have tokens like: EGL_TIMESTAMP_PENDING_ANDROID EGL_CAST(EGLnsecsANDROID,-2) EGL_COLORSPACE_sRGB 0x3089 EGL_NO_NATIVE_FENCE_FD_ANDROID -1
This commit is contained in:
parent
5a2307fae3
commit
7d3c9e5377
@ -11,7 +11,7 @@ my %regex = (
|
|||||||
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
||||||
exturl => qr/^http.+$/,
|
exturl => qr/^http.+$/,
|
||||||
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
||||||
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Z0-9_]*)$/,
|
token => qr/^([A-Z][A-Za-z0-9_x]*)\s+((?:0x|-)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Za-z0-9(),_-]*)$/,
|
||||||
type => qr/^typedef\s+(.+)$/,
|
type => qr/^typedef\s+(.+)$/,
|
||||||
exact => qr/.*;$/,
|
exact => qr/.*;$/,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user