Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not disable GNU extensions when building grammars
Commit ca65d31 ("always build grammars with c++14 and c11 (helix-editor#6792)") turned on semi-strict standard mode for C and C++ by accident. Some grammars use non-standard functions such as isascii (from <ctype.h>) and fail to build as a result, particularly with future compilers which do not support implicit function declarations. (Ideally, the build environment would only raise the standard versions relative to the toolchain default, not lower them, but this change does not implement that.)
- Loading branch information