Changeset 3458 for trunk/src/kash/parser.c
- Timestamp:
- Sep 14, 2020, 11:46:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/parser.c
r3457 r3458 136 136 TRACE2((psh, "parsecmd(%d)\n", interact)); 137 137 #ifdef KASH_SEPARATE_PARSER_ALLOCATOR 138 pstack push(psh);138 pstackallocpush(psh); 139 139 #endif 140 140 psh->tokpushback = 0; … … 1788 1788 } 1789 1789 1790 #ifndef KASH_SEPARATE_PARSER_ALLOCATOR 1791 1790 1792 static union node *copyparsetreeint(shinstance *psh, union node *src); 1791 1793 … … 1947 1949 } 1948 1950 1951 #endif 1952 1949 1953 union node *copyparsetree(shinstance *psh, union node *src) 1950 1954 { 1951 1955 #ifdef KASH_SEPARATE_PARSER_ALLOCATOR 1952 pstackpush(psh); 1956 K_NOREF(psh); 1957 pstackretainpush(psh, src->pblock); 1958 return src; 1959 #else 1960 return copyparsetreeint(psh, src); 1953 1961 #endif 1954 return copyparsetreeint(psh, src); 1955 } 1956 1962 } 1963
Note:
See TracChangeset
for help on using the changeset viewer.