[SHELL] Improve LINENO support

This patch improves LINENO support by storing line numbers in the parse
tree, for commands as well as for function definitions. It makes LINENO
behaves properly when calling functions, and has the added benefit of
improved line numbers in error messages when the last-parsed command is
not the last-executed one. It removes the earlier LINENO support, and
instead sets LINENO from evaltree when a command is executed

Signed-off-by: Harald van Dijk <harald@gigawatt.nl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
13 files changed
tree: 09c088a97971babd2e0dd593d7601e282ed5fc69
  1. src/
  2. ChangeLog
  3. ChangeLog.O
  4. configure.ac
  5. COPYING
  6. Makefile.am