aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-13 19:50:01 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-13 19:50:01 +0000
commit151c3ec04339090b99996244a4407ed749af8d2a (patch)
treeb5fa7189a1d9c3925f7bbfca77045ed024abe625 /gas
parentbd2f63470e1e965170f22f32bd6d183d28c9188e (diff)
downloadgdb-151c3ec04339090b99996244a4407ed749af8d2a.zip
gdb-151c3ec04339090b99996244a4407ed749af8d2a.tar.gz
gdb-151c3ec04339090b99996244a4407ed749af8d2a.tar.bz2
Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA. * read.c (LEX_TILDE): Define if not defined. (lex_type): Use LEX_TILDE. * expr.c (get_symbol_end): Check first char with is_name_beginner, not is_part_of_name.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/read.c7
2 files changed, 14 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 3994c46..d9932d2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+Thu Feb 13 14:48:03 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
+
+ * config/tc-m68k.c (LEX_TILDE): Define if TE_DELTA.
+ * read.c (LEX_TILDE): Define if not defined.
+ (lex_type): Use LEX_TILDE.
+ * expr.c (get_symbol_end): Check first char with is_name_beginner,
+ not is_part_of_name.
+
Thu Feb 13 11:40:58 1997 Ian Lance Taylor <ian@cygnus.com>
* config/tc-mips.c (mips16_extended_frag): Correct base address
diff --git a/gas/read.c b/gas/read.c
index 5e70429..990de7c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -96,6 +96,11 @@ die horribly;
#define LEX_DOLLAR 3
#endif
+#ifndef LEX_TILDE
+/* The Delta 68k assembler permits ~ at start of label names. */
+#define LEX_TILDE 0
+#endif
+
/* used by is_... macros. our ctype[] */
char lex_type[256] =
{
@@ -106,7 +111,7 @@ char lex_type[256] =
LEX_AT, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, /* @ABCDEFGHIJKLMNO */
3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, LEX_BR, 0, LEX_BR, 0, 3, /* PQRSTUVWXYZ[\]^_ */
0, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, /* `abcdefghijklmno */
- 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, LEX_BR, 0, LEX_BR, 0, 0, /* pqrstuvwxyz{|}~. */
+ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, LEX_BR, 0, LEX_BR, LEX_TILDE, 0, /* pqrstuvwxyz{|}~. */
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,