diff options
author | Alexander Meißner <AlexanderMeissner@gmx.net> | 2017-10-16 19:09:42 +0200 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2017-10-16 10:09:42 -0700 |
commit | faaa20b4950351528fd00888040fdd2b14a5a084 (patch) | |
tree | 32d94e71192e43db8abfabe542857c48a4c36d86 /test | |
parent | a8da89653981bb37565981afc69104f918fea64a (diff) | |
download | binaryen-faaa20b4950351528fd00888040fdd2b14a5a084.tar.gz binaryen-faaa20b4950351528fd00888040fdd2b14a5a084.tar.bz2 binaryen-faaa20b4950351528fd00888040fdd2b14a5a084.zip |
Fixed parseFile() skipping every other line (#1223)
* Fixed parseFile() skipping every other line
Was caused by "s = strchr(s, '\n')"
Also replaced recordFile() by parseFile() as they do exactly the same
* Added parseFile() to process() in s2wasm.h
Diffstat (limited to 'test')
-rw-r--r-- | test/dot_s/debug.wast | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dot_s/debug.wast b/test/dot_s/debug.wast index d4431ba4f..f85073e19 100644 --- a/test/dot_s/debug.wast +++ b/test/dot_s/debug.wast @@ -10,6 +10,7 @@ (local $2 i32) (local $3 i32) (local $4 i32) + ;;@ fib.c:1:0 (set_local $3 (i32.const 0) ) |