VirtualBox

Changeset 98390 in vbox


Ignore:
Timestamp:
Feb 1, 2023 1:29:47 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155634
Message:

scm: More on the kmk makefile cleanup. bugref:10348

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bldprogs/scmrw-kmk.cpp

    r98387 r98390  
    10361036    if (pParser->iDepth < 1)
    10371037        return scmKmkGiveUp(pParser, "Lone 'else'");
    1038     uint32_t const cchIndent = pParser->iActualDepth - !pParser->aDepth[pParser->iDepth].fIgnoreNesting;
     1038    uint32_t const cchIndent = pParser->iActualDepth
     1039                             - (pParser->iActualDepth > 0 && !pParser->aDepth[pParser->iDepth - 1].fIgnoreNesting);
    10391040
    10401041    /*
     
    19511952                { RT_STR_TUPLE("error") },
    19521953                { RT_STR_TUPLE("warning") },
     1954                { RT_STR_TUPLE("set-umask") },
     1955                { RT_STR_TUPLE("foreach") },
     1956                { RT_STR_TUPLE("call") },
    19531957                { RT_STR_TUPLE("eval") },
    1954                 { RT_STR_TUPLE("set-umask") },
     1958                { RT_STR_TUPLE("evalctx") },
     1959                { RT_STR_TUPLE("evalval") },
     1960                { RT_STR_TUPLE("evalvalctx") },
     1961                { RT_STR_TUPLE("evalcall") },
     1962                { RT_STR_TUPLE("evalcall2") },
     1963                { RT_STR_TUPLE("eval-opt-var") },
    19551964            };
    19561965            size_t cchFunc = offEnd - offWord - 2;
Note: See TracChangeset for help on using the changeset viewer.

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