mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
[v1.0] remove deparse.c
The shell code de-parser, which converts byte code back to shell source code, is unused. It was used in SHOPT_COSHELL, which was removed in3613da42, and in ancient code for systems without fork(2), which was removed in7b0e0776. Testing reveals it to be quite broken as it has not kept up with more recent changes in ksh. It is kept in the dev branch, as we intend to fix it up and use it for 'typeset -f FUNCTIONNAME' to output function definitions in a future release. (The current design, which outputs original source code direct from the source file, is fundamentally broken because the output of a function definition that was loaded from a file is corrupted if you edit the file after loading the function.)
This commit is contained in:
parent
89cec81b32
commit
a46c8e74f7
4 changed files with 2 additions and 617 deletions
|
|
@ -106,8 +106,7 @@ sh directory:
|
|||
3. array.c contains the code for indexed and associative
|
||||
arrays.
|
||||
4. defs.c contains the data definitions for global symbols.
|
||||
5. deparse.c contains code to generate shell script from
|
||||
a parse tree.
|
||||
5. (removed)
|
||||
6. expand.c contains code for file name expansion and
|
||||
pathname expansion.
|
||||
7. fault.c contains code for signal processing, trap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue