Ignore:
Timestamp:
Mar 14, 2018, 10:28:10 PM (7 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • trunk/src/kmk/expreval.c

    r3065 r3140  
    2828*   Header Files                                                               *
    2929*******************************************************************************/
    30 #include "make.h"
     30#include "makeint.h"
    3131#include <assert.h>
    3232
     
    162162    const char *psz;
    163163    /** The current file location, used for errors. */
    164     const struct floc *pFileLoc;
     164    const floc *pFileLoc;
    165165    /** Pending binary operator. */
    166166    PCEXPROP pPending;
     
    213213    va_end(va);
    214214
    215     fatal(pThis->pFileLoc, "%s", szTmp);
     215    OS(fatal,pThis->pFileLoc, "%s", szTmp);
    216216}
    217217
     
    284284     * Skip blanks.
    285285     */
    286     while (isblank(*psz))
     286    while (ISBLANK(*psz))
    287287        psz++;
    288288
     
    305305     * Recognize some exsotic prefixes here in addition to the two standard ones.
    306306     */
    307     if (*psz != '0' || psz[1] == '\0' || isblank((unsigned int)psz[1]))
     307    if (*psz != '0' || psz[1] == '\0' || ISBLANK(psz[1]))
    308308        uBase = 10;
    309309    else if (psz[1] == 'x' || psz[1] == 'X')
     
    370370            default:
    371371                /* is the rest white space? */
    372                 while (isspace((unsigned int)*psz))
     372                while (ISSPACE(*psz))
    373373                    psz++;
    374374                if (*psz != '\0')
     
    745745            EXPRINT64 iVal;
    746746            char const *psz = pVar->uVal.psz;
    747             while (isblank((unsigned char)*psz))
     747            while (ISBLANK(*psz))
    748748                psz++;
    749749            if (    *psz
     
    17731773
    17741774        /* spaces */
    1775         while (isspace((unsigned int)*psz))
     1775        while (ISSPACE(*psz))
    17761776            psz++;
    17771777        /* see what we've got. */
     
    18371837     * Eat white space and make sure there is something after it.
    18381838     */
    1839     while (isspace((unsigned int)*psz))
     1839    while (ISSPACE(*psz))
    18401840        psz++;
    18411841    if (!*psz)
     
    19351935                            break;
    19361936                    }
    1937                     if (isspace((unsigned char)ch))
     1937                    if (ISSPACE(ch))
    19381938                        break;
    19391939                }
     
    20812081 * @param   flocp   The file location, used for errors.
    20822082 */
    2083 int expr_eval_if_conditionals(const char *line, const struct floc *flocp)
     2083int expr_eval_if_conditionals(const char *line, const floc *flocp)
    20842084{
    20852085    /*
Note: See TracChangeset for help on using the changeset viewer.