diff options
author | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-17 22:59:40 +0100 |
---|---|---|
committer | Arne Georg Gleditsch <argggh@lxr.linpro.no> | 2008-02-17 22:59:40 +0100 |
commit | db9049079b4a34b270283512941cfa19ac8d20aa (patch) | |
tree | f787fd10dcc397affec68bcc7199d28308e7e876 | |
parent | e7c5bd0fecd796587373a7805ab21fd96f0359e2 (diff) |
Add const as reserved word.
-rw-r--r-- | lib/LXRng/Lang/C.pm | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/LXRng/Lang/C.pm b/lib/LXRng/Lang/C.pm index 928b450..60a571b 100644 --- a/lib/LXRng/Lang/C.pm +++ b/lib/LXRng/Lang/C.pm @@ -52,13 +52,12 @@ sub identifier_re { } my $_reserved ||= { map { $_ => 1 } - qw(asm auto break case char continue default do - double else enum extern float for fortran goto - if int long register return short signed sizeof - static struct switch typedef union unsigned - void volatile while - #define #else #endif #if #ifdef #ifndef #include - #undef)}; + qw(asm auto break case char const continue default + do double else enum extern float for fortran + goto if int long register return short signed + sizeof static struct switch typedef union + unsigned void volatile while #define #else + #endif #if #ifdef #ifndef #include #undef)}; sub reserved { return $_reserved; |