VirtualBox

Changeset 56331 in vbox for trunk


Ignore:
Timestamp:
Jun 10, 2015 11:23:25 AM (9 years ago)
Author:
vboxsync
Message:

scm: configured objective-C/C++, .def and .sed files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scm.cpp

    r56324 r56331  
    216216};
    217217
     218static PFNSCMREWRITER const g_aRewritersFor_DEF[] =
     219{
     220    rewrite_ForceNativeEol,
     221    rewrite_ExpandTabs,
     222    rewrite_StripTrailingBlanks,
     223    rewrite_AdjustTrailingLines,
     224    rewrite_SvnNoExecutable,
     225    rewrite_SvnKeywords
     226};
     227
    218228static PFNSCMREWRITER const g_aRewritersFor_ShellScripts[] =
    219229{
     
    226236{
    227237    rewrite_ForceCRLF,
     238    rewrite_ExpandTabs,
     239    rewrite_StripTrailingBlanks
     240};
     241
     242static PFNSCMREWRITER const g_aRewritersFor_SedScripts[] =
     243{
     244    rewrite_ForceLF,
    228245    rewrite_ExpandTabs,
    229246    rewrite_StripTrailingBlanks
     
    244261    { RT_ELEMENTS(g_aRewritersFor_Makefile_kup), &g_aRewritersFor_Makefile_kup[0], "Makefile.kup" },
    245262    { RT_ELEMENTS(g_aRewritersFor_Makefile_kmk), &g_aRewritersFor_Makefile_kmk[0], "Makefile.kmk|Config.kmk" },
    246     { RT_ELEMENTS(g_aRewritersFor_C_and_CPP),    &g_aRewritersFor_C_and_CPP[0],    "*.c|*.cpp|*.C|*.CPP|*.cxx|*.cc" },
     263    { RT_ELEMENTS(g_aRewritersFor_C_and_CPP),    &g_aRewritersFor_C_and_CPP[0],    "*.c|*.cpp|*.C|*.CPP|*.cxx|*.cc|*.m|*.mm" },
    247264    { RT_ELEMENTS(g_aRewritersFor_H_and_HPP),    &g_aRewritersFor_H_and_HPP[0],    "*.h|*.hpp" },
    248265    { RT_ELEMENTS(g_aRewritersFor_RC),           &g_aRewritersFor_RC[0],           "*.rc" },
     266    { RT_ELEMENTS(g_aRewritersFor_DEF),          &g_aRewritersFor_DEF[0],          "*.def" },
    249267    { RT_ELEMENTS(g_aRewritersFor_ShellScripts), &g_aRewritersFor_ShellScripts[0], "*.sh|configure" },
    250268    { RT_ELEMENTS(g_aRewritersFor_BatchFiles),   &g_aRewritersFor_BatchFiles[0],   "*.bat|*.cmd|*.btm|*.vbs|*.ps1" },
     269    { RT_ELEMENTS(g_aRewritersFor_SedScripts),   &g_aRewritersFor_SedScripts[0],   "*.sed" },
    251270    { RT_ELEMENTS(g_aRewritersFor_Python),       &g_aRewritersFor_Python[0],       "*.py" },
    252271};
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette