aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-06-02 02:52:10 +0000
committerAlan Modra <amodra@gmail.com>2000-06-02 02:52:10 +0000
commitb75c0c920f88f3b6a5877509b14f59b5d86f88b5 (patch)
treefbdf3fdb737ae2096200576af5b22eb8817603af /gas/read.c
parentf0d4cc9e0ec5ad1533782d32bbf5029b2601828f (diff)
downloadgdb-b75c0c920f88f3b6a5877509b14f59b5d86f88b5.zip
gdb-b75c0c920f88f3b6a5877509b14f59b5d86f88b5.tar.gz
gdb-b75c0c920f88f3b6a5877509b14f59b5d86f88b5.tar.bz2
is_end_of_line fixes.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c35
1 files changed, 14 insertions, 21 deletions
diff --git a/gas/read.c b/gas/read.c
index 2ea5e2b..7ff8aad 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -146,33 +146,26 @@ char lex_type[256] =
* In: a character.
* Out: 1 if this character ends a line.
*/
-#define Z_ (0)
char is_end_of_line[256] =
{
#ifdef CR_EOL
- 99, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, 99, Z_, Z_, 99, Z_, Z_, /* @abcdefghijklmno */
+ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, /* @abcdefghijklmno */
#else
- 99, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, 99, Z_, Z_, Z_, Z_, Z_, /* @abcdefghijklmno */
+ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, /* @abcdefghijklmno */
#endif
- Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, /* */
-#ifdef TC_HPPA
- Z_,99, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, Z_, /* _!"#$%&'()*+,-./ */
- Z_, Z_,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