Update trainer.h usage warning (#7439)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-08-02 12:54:39 +02:00 committed by GitHub
parent 9faa5294ce
commit 469a0b476a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1733,9 +1733,7 @@ static void fprint_trainers(const char *output_path, FILE *f, struct Parsed *par
fprintf(f, "//\n");
fprintf(f, "// DO NOT MODIFY THIS FILE! It is auto-generated from %s\n", parsed->source->path);
fprintf(f, "//\n");
fprintf(f, "// If you want to modify this file set COMPETITIVE_PARTY_SYNTAX to FALSE\n");
fprintf(f, "// in include/config/general.h and remove this notice.\n");
fprintf(f, "// Use sed -i '/^#line/d' '%s' to remove #line markers.\n", output_path);
fprintf(f, "// If you want to modify this file see expansion PR #7154\n");
fprintf(f, "//\n");
fprintf(f, "\n");