Skip to content

Commit 7b8dd86

Browse files
authored
Correct doc comment in test all (#1025)
The previous comment was copy/pasted from recursive ascent. Update it to describe the purpose of the test all code generation strategy. Reported by @glyh in #1008.
1 parent 7a1f9f6 commit 7b8dd86

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lalrpop/src/lr1/codegen/test_all.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
//! A compiler from an LR(1) table to a [recursive ascent] parser.
1+
//! Test module for comparing code generation strategies
22
//!
3-
//! [recursive ascent]: https://en.wikipedia.org/wiki/Recursive_ascent_parser
3+
//! The TestAll code generation strategy uses both parse tables and recursive ascent, and then
4+
//! compares the parsing return values to ensure they are both identical. This is for use in the
5+
//! `lalrpop-test` test suite and not intended for external consumption.
46
57
use crate::grammar::repr::{Grammar, NonterminalString, TypeParameter};
68
use crate::lr1::core::*;

0 commit comments

Comments
 (0)