diff options
| -rw-r--r-- | doc/compile/README.md | 9 | ||||
| -rw-r--r-- | src/parse.y | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/doc/compile/README.md b/doc/compile/README.md index c6ab2f584..ce968b36e 100644 --- a/doc/compile/README.md +++ b/doc/compile/README.md @@ -64,6 +64,15 @@ Toolchain configuration for Visual Studio 2012 on Windows. toolchain :vs2012 +#### Android + +Toolchain configuration for Android. + + toolchain :androideabi + +Requires the custom standalone Android NDK and the toolchain path +in ```ANDROID_STANDALONE_TOOLCHAIN```. + ### Binaries It is possible to select which tools should be compiled during the compilation diff --git a/src/parse.y b/src/parse.y index 9ee9c9bec..91fb1a8e8 100644 --- a/src/parse.y +++ b/src/parse.y @@ -3000,7 +3000,7 @@ yywarn(parser_state *p, const char *s) } #endif } - else if (p->nerr < sizeof(p->warn_buffer) / sizeof(p->warn_buffer[0])) { + else if (p->nwarn < sizeof(p->warn_buffer) / sizeof(p->warn_buffer[0])) { n = strlen(s); c = (char *)parser_palloc(p, n + 1); memcpy(c, s, n + 1); |
