all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Cc: emacs-devel@gnu.org
Subject: perldb and gud-print
Date: Wed, 17 Sep 2003 20:06:48 +0100	[thread overview]
Message-ID: <16232.45256.125844.943270@nick.uklinux.net> (raw)
In-Reply-To: <87pti7p2kc.fsf@lexx.delysid.org>


 > Is there any reason why gud-print should not print the result of evaluating
 > the expression with perldb?  If not, please install attached patch.

I have installed this patch. Note, however, that gud-print in perldb uses
gud-find-c-expr to parse the expression. This means that: 

1) Scalars like, $days, are parsed correctly (I've just discovered that this
is a valid name for a data type in C).

2) Array elements, like, $days[28] are paresed correctly.

3) Entire arrays like, @days, are not parsed correctly.

4) Entire hashes like, %days, and single values like, $days{'Feb'}, are not
   parsed correctly.

I have written a function, gud-find-fortran-expr (with some help) for
Fortran. Would you like to write a 'gud-find-perl-expr' to make a better
job of parsing Perl expressions? (Not trivial!)

Nick

      reply	other threads:[~2003-09-17 19:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-11 19:06 perldb and gud-print Mario Lang
2003-09-17 19:06 ` Nick Roberts [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=16232.45256.125844.943270@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.