David Peixotto
d05b93515d
Integrated assembler incorrectly lexes ARM-style comments
...
The integrated assembler fails to properly lex arm comments when
they are adjacent to an identifier in the input stream. The reason
is that the arm comment symbol '@' is also used as symbol variant in
other assembly languages so when lexing an identifier it allows the
'@' symbol as part of the identifier.
Example:
$ cat comment.s
foo:
add r0, r0@got to parse this as a comment
$ llvm-mc -triple armv7 comment.s
comment.s:4:18: error: unexpected token in argument list
add r0, r0@got to parse this as a comment
^
This should be parsed as correctly as `add r0, r0`.
This commit modifes the assembly lexer to not include the '@' symbol
in identifiers when lexing for targets that use '@' for comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196607 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-06 20:35:58 +00:00
..
2013-08-16 00:37:11 +00:00
2013-10-28 21:12:15 +00:00
2013-11-25 19:11:13 +00:00
2013-11-25 19:11:13 +00:00
2013-09-30 17:31:26 +00:00
2013-09-27 13:28:17 +00:00
2013-06-11 10:01:42 +00:00
2013-07-03 16:41:29 +00:00
2013-07-03 16:41:29 +00:00
2013-07-03 16:41:29 +00:00
2013-10-29 14:16:09 +00:00
2013-11-08 09:16:31 +00:00
2013-10-29 14:16:09 +00:00
2013-11-08 09:16:31 +00:00
2013-08-09 13:52:32 +00:00
2013-12-06 20:35:58 +00:00
2013-10-29 09:47:35 +00:00
2013-10-29 09:47:35 +00:00
2013-05-14 16:26:38 +00:00
2013-10-03 09:31:51 +00:00
2013-10-24 12:22:58 +00:00
2013-11-12 21:32:41 +00:00
2013-10-28 17:51:12 +00:00
2013-10-28 17:51:12 +00:00
2013-10-28 17:51:12 +00:00
2013-10-28 17:51:12 +00:00
2013-05-30 03:05:14 +00:00
2013-07-02 12:43:27 +00:00
2013-07-08 21:47:33 +00:00
2013-05-30 03:05:14 +00:00
2013-07-03 16:41:29 +00:00
2013-07-03 16:41:29 +00:00
2013-05-30 03:05:14 +00:00
2013-06-09 12:22:30 +00:00
2013-06-09 12:22:30 +00:00
2013-05-10 16:17:24 +00:00
2013-06-09 12:22:30 +00:00
2013-05-10 16:17:24 +00:00
2013-05-30 03:05:14 +00:00
2013-05-10 16:17:24 +00:00
2013-06-09 12:22:30 +00:00
2013-05-10 16:17:24 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-10 16:17:24 +00:00
2013-06-09 12:22:30 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-10 16:17:24 +00:00
2013-05-10 16:17:24 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-05-30 03:05:14 +00:00
2013-06-10 23:20:58 +00:00
2013-10-25 12:49:50 +00:00
2013-11-11 19:56:13 +00:00
2013-10-18 10:18:40 +00:00
2013-10-29 14:16:09 +00:00
2013-09-18 09:46:49 +00:00
2013-10-14 13:16:57 +00:00
2013-10-23 10:14:40 +00:00
2013-10-23 10:14:40 +00:00
2013-10-18 10:18:40 +00:00
2013-10-14 13:16:57 +00:00
2013-08-16 00:37:11 +00:00
2013-08-28 16:39:20 +00:00
2013-08-28 16:39:20 +00:00
2013-06-10 23:20:58 +00:00
2013-06-10 23:20:58 +00:00
2013-04-15 22:42:50 +00:00
2013-08-22 13:16:07 +00:00
2013-09-19 11:59:01 +00:00
2013-06-18 21:49:21 +00:00
2013-07-19 16:34:16 +00:00
2013-07-13 22:00:58 +00:00
2013-05-08 09:41:12 +00:00
2013-05-08 09:41:12 +00:00
2013-08-13 16:40:47 +00:00
2013-06-11 09:39:51 +00:00
2013-10-25 07:34:56 +00:00
2013-12-04 22:43:20 +00:00
2013-12-04 22:43:20 +00:00
2013-08-09 10:38:32 +00:00
2013-08-09 10:38:32 +00:00
2013-09-30 18:50:51 +00:00
2013-09-27 10:30:18 +00:00
2013-08-06 16:07:46 +00:00
2013-10-24 09:37:18 +00:00
2013-09-13 14:37:52 +00:00
2013-11-05 21:36:02 +00:00
2013-09-19 11:59:01 +00:00
2013-09-19 11:59:01 +00:00
2013-07-19 16:34:16 +00:00
2013-11-08 09:16:31 +00:00
2013-12-05 02:21:44 +00:00
2013-06-24 09:11:53 +00:00
2013-11-08 16:25:50 +00:00
2013-10-24 15:49:39 +00:00
2013-10-11 16:03:43 +00:00