Changeset 1724 for trunk/src/kmk/read.c


Ignore:
Timestamp:
Sep 5, 2008, 2:34:53 AM (17 years ago)
Author:
bird
Message:

kmk: ifcond.c -> expreval.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/read.c

    r1719 r1724  
    452452     free (stream_buf);
    453453  }
    454 #endif 
     454#endif
    455455  free (ebuf.bufstart);
    456456  alloca (0);
     
    20042004{
    20052005  char *cmdname;
    2006   enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, 
     2006  enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq,
    20072007#ifdef CONFIG_WITH_SET_CONDITIONALS
    2008     c_if1of, c_ifn1of, 
     2008    c_if1of, c_ifn1of,
    20092009#endif
    20102010#ifdef CONFIG_WITH_IF_CONDITIONALS
    20112011    c_ifcond,
    20122012#endif
    2013     c_else, c_endif 
     2013    c_else, c_endif
    20142014  } cmdtype;
    20152015  unsigned int i;
     
    20312031#ifdef CONFIG_WITH_IF_CONDITIONALS
    20322032  else chkword ("if", c_ifcond)
    2033 #endif 
     2033#endif
    20342034  else chkword ("else", c_else)
    20352035  else chkword ("endif", c_endif)
     
    21732173  else if (cmdtype == c_ifcond)
    21742174    {
    2175       int rval = ifcond (line, flocp);
     2175      int rval = expr_eval_if_conditionals (line, flocp);
    21762176      if (rval == -1)
    21772177          return rval;
Note: See TracChangeset for help on using the changeset viewer.