diff options
author | Per Bothner <per@bothner.com> | 1992-04-17 01:35:42 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1992-04-17 01:35:42 +0000 |
commit | d453b386ac60cb219f5949da95cb99d1e22ad6b9 (patch) | |
tree | aaf7cbe5c2c04731813654a84ae84ed90ba53c63 /gdb/m2-exp.y | |
parent | c0532cf36ba83d86825b8647b892f4d3d090ba7c (diff) | |
download | gdb-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.y | 10 |
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 }, }; |