diff options
author | Ben Smith <binjimin@gmail.com> | 2017-02-24 16:49:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-24 16:49:49 -0800 |
commit | 4e7541cb2d067eeebce5f13f85c0d4f67a685299 (patch) | |
tree | 95d4e943fb8a29ac8d704c1ee108d5c32b3258b5 /src/ast-lexer.cc | |
parent | 529015dc83b426659047689922eee7f9a34f9f15 (diff) | |
download | wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.gz wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.tar.bz2 wabt-4e7541cb2d067eeebce5f13f85c0d4f67a685299.zip |
Remove struct and enum typedefs (#317)
Diffstat (limited to 'src/ast-lexer.cc')
-rw-r--r-- | src/ast-lexer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ast-lexer.cc b/src/ast-lexer.cc index 07fef8ee..3ded34d7 100644 --- a/src/ast-lexer.cc +++ b/src/ast-lexer.cc @@ -502,10 +502,10 @@ void wabt_destroy_ast_lexer(WabtAstLexer* lexer) { wabt_free(lexer); } -typedef enum WabtLineOffsetPosition { +enum WabtLineOffsetPosition { WABT_LINE_OFFSET_POSITION_START, WABT_LINE_OFFSET_POSITION_END, -} WabtLineOffsetPosition; +}; static WabtResult scan_forward_for_line_offset_in_buffer( const char* buffer_start, |