mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
Grammar: Renamed ::dump vars for accuracy
This commit is contained in:
parent
0cd1d48290
commit
23fb1aedd5
1 changed files with 4 additions and 4 deletions
|
@ -181,11 +181,11 @@ std::string Grammar::dump () const
|
|||
for (auto& production : rule.second)
|
||||
{
|
||||
out << " ";
|
||||
for (auto& term : production)
|
||||
for (auto& token : production)
|
||||
{
|
||||
out << term._token;
|
||||
if (term._decoration != "")
|
||||
out << " " << term._decoration;
|
||||
out << token._token;
|
||||
if (token._decoration != "")
|
||||
out << " " << token._decoration;
|
||||
out << " ";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue