Ignore:
Timestamp:
Dec 1, 2012, 1:17:36 PM (7 years ago)
Author:
sam
Message:

vslol: add more C99 and C++ type qualifiers and language constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/vslol/CppKeywordClassifier.cs

    r2124 r2125  
    6565    private static const string[] m_all_types =
    6666    {
    67         "auto|void|bool|int|unsigned|char|short|long|float|double";
     67        "void|bool|int|signed|unsigned|char|short|long|float|double";
    6868        "class|struct|union|template|namespace|typename|typedef",
    69         "const|static|extern|volatile|inline|explicit"
     69        "inline|restrict|export|explicit|mutable",
     70        "static|register|auto|volatile|extern|const"
    7071    };
    7172
    7273    private static const string[] m_cpp_types =
    7374    {
    74         "u?int(8|16|32|64|ptr)_t",
    75         "(wchar|size|ssize)_t",
    76         "va_list",
     75        "u?int(8|16|32|64|ptr|max)_t",
     76        "u?int_(least|fast)(8|16|32|64)_t",
     77        "(wchar|char16|char32|size|ssize|off|ptrdiff)_t",
     78        "(sig_atomic|fpos|clock|time|div|ldiv)_t",
     79        "va_list|jmp_buf|FILE|DIR",
    7780    };
    7881
Note: See TracChangeset for help on using the changeset viewer.