aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-07-11 12:25:26 +0200
committerJan Beulich <jbeulich@suse.com>2024-07-11 12:25:26 +0200
commit8ea8012a8bddbc6fbbc86766a1df181cf133c5c6 (patch)
tree60ae2ca40d0594d4403480ec96ef5842c887953e
parent5e07665d4c25ac569adcb7cbff94b36ddffb3bbb (diff)
downloadbinutils-8ea8012a8bddbc6fbbc86766a1df181cf133c5c6.zip
binutils-8ea8012a8bddbc6fbbc86766a1df181cf133c5c6.tar.gz
binutils-8ea8012a8bddbc6fbbc86766a1df181cf133c5c6.tar.bz2
gas: there's no scrubber state 12
Apparently (beyond what's [easily] visible in git history) when this was added there was confusion about scrubber states vs lex[] contents. For the purposes here LEX_IS_DOUBLEDASH_1ST (which happens to also resolve to 12) alone is sufficient. "state" is never set to 12, and it being 12 also isn't handled anywhere.
-rw-r--r--gas/app.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gas/app.c b/gas/app.c
index 041941a..955de0f 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -431,10 +431,7 @@ do_scrub_chars (size_t (*get) (char *, size_t), char *tostart, size_t tolen)
11: After seeing a symbol character in state 0 (eg a label definition)
-1: output string in out_string and go to the state in old_state
-2: flush text until a '*' '/' is seen, then go to state old_state
-#ifdef TC_V850
- 12: After seeing a dash, looking for a second dash as a start
- of comment.
-#endif
+ 12: no longer used
#ifdef DOUBLEBAR_PARALLEL
13: After seeing a vertical bar, looking for a second
vertical bar as a parallel expression separator.