aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-04-17 01:35:42 +0000
committerPer Bothner <per@bothner.com>1992-04-17 01:35:42 +0000
commitd453b386ac60cb219f5949da95cb99d1e22ad6b9 (patch)
treeaaf7cbe5c2c04731813654a84ae84ed90ba53c63 /gdb/m2-exp.y
parentc0532cf36ba83d86825b8647b892f4d3d090ba7c (diff)
downloadgdb-d453b386ac60cb219f5949da95cb99d1e22ad6b9.zip
gdb-d453b386ac60cb219f5949da95cb99d1e22ad6b9.tar.gz
gdb-d453b386ac60cb219f5949da95cb99d1e22ad6b9.tar.bz2
* rs6000-pinsn.c: New version from IBM (Metin).
* m2-exp.y: Re-write string initializers ("<>" => {'<', '>'}) to avoid warnings from some compilers.
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 2274b16..54a6bda 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -785,11 +785,11 @@ static struct
int token;
} tokentab2[] =
{
- {"<>", NOTEQUAL },
- {":=", ASSIGN },
- {"<=", LEQ },
- {">=", GEQ },
- {"::", COLONCOLON },
+ { {'<', '>'}, NOTEQUAL },
+ { {':', '='}, ASSIGN },
+ { {'<', '='}, LEQ },
+ { {'>', '='}, GEQ },
+ { {':', ':'}, COLONCOLON },
};