Index: src/parsing/scanner.cc |
diff --git a/src/parsing/scanner.cc b/src/parsing/scanner.cc |
index 39e0d831e772cbfb07a83ffa0005b0364d006849..67a5c9e1d4c029287464d548bc197c562bc5246d 100644 |
--- a/src/parsing/scanner.cc |
+++ b/src/parsing/scanner.cc |
@@ -1613,14 +1613,13 @@ bool Scanner::ContainsDot() { |
return std::find(str.begin(), str.end(), '.') != str.end(); |
} |
- |
-int Scanner::FindSymbol(DuplicateFinder* finder, int value) { |
+bool Scanner::FindSymbol(DuplicateFinder* finder) { |
// TODO(vogelheim): Move this logic into the calling class; this can be fully |
// implemented using the public interface. |
if (is_literal_one_byte()) { |
- return finder->AddOneByteSymbol(literal_one_byte_string(), value); |
+ return finder->AddOneByteSymbol(literal_one_byte_string()); |
} |
- return finder->AddTwoByteSymbol(literal_two_byte_string(), value); |
+ return finder->AddTwoByteSymbol(literal_two_byte_string()); |
} |
void Scanner::SeekNext(size_t position) { |