More parser — lint+tests pass again
This commit is contained in:
@@ -9,7 +9,7 @@ const headers = &[_][]const u8{
|
||||
const c_lib_files = &[_][]const u8{
|
||||
"tokenizer.c",
|
||||
"ast.c",
|
||||
"zig1.c",
|
||||
"zig0.c",
|
||||
"parser.c",
|
||||
};
|
||||
|
||||
@@ -109,6 +109,7 @@ pub fn build(b: *std.Build) !void {
|
||||
"--suppress=checkersReport",
|
||||
"--suppress=unusedFunction", // TODO remove after plumbing is done
|
||||
"--suppress=unusedStructMember", // TODO remove after plumbing is done
|
||||
"--suppress=knownConditionTrueFalse", // TODO remove after plumbing is done
|
||||
});
|
||||
for (all_c_files) |cfile| cppcheck.addFileArg(b.path(cfile));
|
||||
lint_step.dependOn(&cppcheck.step);
|
||||
|
||||
Reference in New Issue
Block a user