Changeset 1724 for trunk/src/kmk/read.c
- Timestamp:
- Sep 5, 2008, 2:34:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/read.c
r1719 r1724 452 452 free (stream_buf); 453 453 } 454 #endif 454 #endif 455 455 free (ebuf.bufstart); 456 456 alloca (0); … … 2004 2004 { 2005 2005 char *cmdname; 2006 enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, 2006 enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, 2007 2007 #ifdef CONFIG_WITH_SET_CONDITIONALS 2008 c_if1of, c_ifn1of, 2008 c_if1of, c_ifn1of, 2009 2009 #endif 2010 2010 #ifdef CONFIG_WITH_IF_CONDITIONALS 2011 2011 c_ifcond, 2012 2012 #endif 2013 c_else, c_endif 2013 c_else, c_endif 2014 2014 } cmdtype; 2015 2015 unsigned int i; … … 2031 2031 #ifdef CONFIG_WITH_IF_CONDITIONALS 2032 2032 else chkword ("if", c_ifcond) 2033 #endif 2033 #endif 2034 2034 else chkword ("else", c_else) 2035 2035 else chkword ("endif", c_endif) … … 2173 2173 else if (cmdtype == c_ifcond) 2174 2174 { 2175 int rval = ifcond(line, flocp);2175 int rval = expr_eval_if_conditionals (line, flocp); 2176 2176 if (rval == -1) 2177 2177 return rval;
Note:
See TracChangeset
for help on using the changeset viewer.