Kaydet (Commit) 863f3d1f authored tarafından Armin Rigo's avatar Armin Rigo

Add a warning notice on top of the generated grammar.txt.

üst 62e475b8
......@@ -883,6 +883,12 @@ sub process_grammar_files(){
$filename = 'grammar.txt';
}
open(GRAMMAR, ">$filename") || die "\n$!\n";
print GRAMMAR "##################################################\n";
print GRAMMAR "# This file is only meant to be a guide, #\n";
print GRAMMAR "# and differs in small ways from the real #\n";
print GRAMMAR "# grammar. The exact reference is the file #\n";
print GRAMMAR "# Grammar/Grammar distributed with the source. #\n";
print GRAMMAR "##################################################\n";
print GRAMMAR strip_grammar_markup($DefinedGrammars{$lang});
close(GRAMMAR);
print "Wrote grammar file $filename\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment