Changeset 1808 for trunk/src/kmk/variable.c
- Timestamp:
- Oct 9, 2008, 7:36:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/variable.c
r1805 r1808 1724 1724 variable buffer, and we may still need that if we're looking at a 1725 1725 target-specific variable. */ 1726 #if !defined(KMK) || !defined(CONFIG_WITH_VALUE_LENGTH) 1726 1727 p = alloc_value = allocated_variable_expand (value); 1728 #else /* KMK - optimization */ 1729 p = alloc_value = allocated_variable_expand_2 (value, -1, &value_len); 1730 #endif /* KMK - optimization */ 1727 1731 break; 1728 1732 case f_conditional: … … 2089 2093 #else /* KMK - optimizations */ 2090 2094 //if (memchr (beg, '$', end - beg)) /* (Mostly for cleaning up the profiler result.) */ 2091 v->name = allocated_variable_expand_2 (beg, end - beg );2095 v->name = allocated_variable_expand_2 (beg, end - beg, NULL); 2092 2096 //else 2093 2097 // {
Note:
See TracChangeset
for help on using the changeset viewer.