From 93dc3414391aaa742bdc21c8a9c153c47b559ac7 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 4 Mar 1994 03:12:05 +0000 Subject: [PATCH] * ch-exp.y (match_simple_name_string): Accept '_' as well as an alphabetic character as the start of a name. --- gdb/ChangeLog | 3 +++ gdb/ch-exp.y | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 663c01cc379..de9ed0842f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Thu Mar 3 12:41:16 1994 Jim Kingdon (kingdon@deneb.cygnus.com) + * ch-exp.y (match_simple_name_string): Accept '_' as well as an + alphabetic character as the start of a name. + * sparclite/Makefile.in (all install): Build and install aload. * configure.in: Accept i[34]86-*-*sysv32 because that is what diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y index ae974fc5dbd..e8188038394 100644 --- a/gdb/ch-exp.y +++ b/gdb/ch-exp.y @@ -1044,7 +1044,7 @@ match_simple_name_string () { char *tokptr = lexptr; - if (isalpha (*tokptr)) + if (isalpha (*tokptr) || *tokptr == '_') { char *result; do { -- 2.30.2