Changeset 1715 for trunk/src/kmk/read.c
- Timestamp:
- Sep 3, 2008, 1:05:55 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/read.c
r1701 r1715 2004 2004 { 2005 2005 char *cmdname; 2006 enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, 2006 2007 #ifdef CONFIG_WITH_SET_CONDITIONALS 2007 enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, c_if1of, c_ifn1of, c_else, c_endif } cmdtype; 2008 #else 2009 enum { c_ifdef, c_ifndef, c_ifeq, c_ifneq, c_else, c_endif } cmdtype; 2010 #endif 2008 c_if1of, c_ifn1of, 2009 #endif 2010 #ifdef CONFIG_WITH_IF_CONDITIONALS 2011 c_ifcond, 2012 #endif 2013 c_else, c_endif 2014 } cmdtype; 2011 2015 unsigned int i; 2012 2016 unsigned int o; … … 2025 2029 else chkword ("ifn1of", c_ifn1of) 2026 2030 #endif 2031 #ifdef CONFIG_WITH_IF_CONDITIONALS 2032 else chkword ("if", c_ifcond) 2033 #endif 2027 2034 else chkword ("else", c_else) 2028 2035 else chkword ("endif", c_endif) … … 2163 2170 free (var); 2164 2171 } 2172 #ifdef CONFIG_WITH_IF_CONDITIONALS 2173 else if (cmdtype == c_ifcond) 2174 { 2175 int rval = ifcond_eval (line, flocp); 2176 if (rval == -1) 2177 return rval; 2178 conditionals->ignoring[o] = rval; 2179 } 2180 #endif 2165 2181 else 2166 2182 {
Note:
See TracChangeset
for help on using the changeset viewer.