diff options
author | Ben Smith <binji@chromium.org> | 2018-09-02 18:22:35 -0700 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-09-04 15:13:23 -0700 |
commit | b4125e90c70a6b1bef4480e33f3c838ab4c7cfcb (patch) | |
tree | 20c6e46776e5038ac3c97365a9a0435cb81ad340 /src/wast-parser-lexer-shared.h | |
parent | 4a54eb34d3e362c8a49316aff6e989f7c9743ed9 (diff) | |
download | wabt-b4125e90c70a6b1bef4480e33f3c838ab4c7cfcb.tar.gz wabt-b4125e90c70a6b1bef4480e33f3c838ab4c7cfcb.tar.bz2 wabt-b4125e90c70a6b1bef4480e33f3c838ab4c7cfcb.zip |
Move WastLexer out of NameResolver, Validator, etc.
Also remove wast-parser-lexer-shared.{cc,h}.
Diffstat (limited to 'src/wast-parser-lexer-shared.h')
-rw-r--r-- | src/wast-parser-lexer-shared.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/wast-parser-lexer-shared.h b/src/wast-parser-lexer-shared.h deleted file mode 100644 index f3b4607a..00000000 --- a/src/wast-parser-lexer-shared.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright 2016 WebAssembly Community Group participants - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef WABT_WAST_PARSER_LEXER_SHARED_H_ -#define WABT_WAST_PARSER_LEXER_SHARED_H_ - -#include <cstdarg> - -namespace wabt { - -class ErrorHandler; -struct Location; -class WastLexer; - -// TODO(binji): Move this somewhere else. -void WastFormatError(ErrorHandler*, - const Location*, - WastLexer*, - const char* format, - va_list); - -} // namespace wabt - -#endif /* WABT_WAST_PARSER_LEXER_SHARED_H_ */ |