From 5bb3d98b4fb4784de356675d465c79ff5f2069e4 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Fri, 28 Nov 2014 14:22:01 +0100 Subject: [PATCH] fix typos --- alib2algo/src/grammar/simplify/EpsilonRemover.cpp | 4 ++-- alib2algo/src/grammar/simplify/EpsilonRemover.h | 2 +- alib2data/src/automaton/FSM/CompactNFA.cpp | 2 +- alib2data/src/automaton/FSM/DFA.cpp | 2 +- alib2data/src/automaton/FSM/EpsilonNFA.cpp | 2 +- alib2data/src/automaton/FSM/ExtendedNFA.cpp | 2 +- alib2data/src/automaton/FSM/MultiInitialStateNFA.cpp | 2 +- alib2data/src/automaton/FSM/NFA.cpp | 2 +- alib2data/src/automaton/PDA/DPDA.cpp | 2 +- alib2data/src/automaton/PDA/InputDrivenNPDA.cpp | 2 +- alib2data/src/automaton/PDA/NPDA.cpp | 2 +- .../src/automaton/PDA/RealTimeHeightDeterministicDPDA.cpp | 2 +- .../src/automaton/PDA/RealTimeHeightDeterministicNPDA.cpp | 2 +- alib2data/src/automaton/PDA/SinglePopDPDA.cpp | 2 +- alib2data/src/automaton/PDA/SinglePopNPDA.cpp | 2 +- alib2data/src/automaton/PDA/VisiblyPushdownDPDA.cpp | 2 +- alib2data/src/automaton/PDA/VisiblyPushdownNPDA.cpp | 2 +- alib2data/src/automaton/TM/OneTapeDTM.cpp | 2 +- alib2data/src/grammar/ContextFree/CFG.cpp | 2 +- alib2data/src/grammar/ContextFree/CNF.cpp | 2 +- alib2data/src/grammar/ContextFree/EpsilonFreeCFG.cpp | 2 +- alib2data/src/grammar/ContextFree/GNF.cpp | 2 +- alib2data/src/grammar/ContextFree/LG.cpp | 2 +- alib2data/src/grammar/ContextSensitive/CSG.cpp | 2 +- .../src/grammar/ContextSensitive/NonContractingGrammar.cpp | 2 +- alib2data/src/grammar/Regular/LeftLG.cpp | 2 +- alib2data/src/grammar/Regular/LeftRG.cpp | 2 +- alib2data/src/grammar/Regular/RightLG.cpp | 2 +- alib2data/src/grammar/Regular/RightRG.cpp | 2 +- .../Unrestricted/ContextPreservingUnrestrictedGrammar.cpp | 2 +- alib2data/src/grammar/Unrestricted/UnrestrictedGrammar.cpp | 2 +- 31 files changed, 32 insertions(+), 32 deletions(-) diff --git a/alib2algo/src/grammar/simplify/EpsilonRemover.cpp b/alib2algo/src/grammar/simplify/EpsilonRemover.cpp index 1b68885004..c68bde0290 100644 --- a/alib2algo/src/grammar/simplify/EpsilonRemover.cpp +++ b/alib2algo/src/grammar/simplify/EpsilonRemover.cpp @@ -88,7 +88,7 @@ grammar::EpsilonFreeCFG EpsilonRemover::remove( const grammar::CFG & origGrammar grammar::Grammar EpsilonRemover::remove(const grammar::Grammar& grammar) { grammar::Grammar* out = NULL; - grammar.getData().Accept((void*) &out, EpsilonRemover::EPSILON_REMOVER_); + grammar.getData().Accept((void*) &out, EpsilonRemover::EPSILON_REMOVER); grammar::Grammar res = std::move(*out); delete out; return res; @@ -154,7 +154,7 @@ void EpsilonRemover::Visit(void*, const grammar::UnrestrictedGrammar&) const { throw exception::AlibException("Unsupported grammar type UnrestrictedGrammar"); } -const EpsilonRemover EpsilonRemover::EPSILON_REMOVER_; +const EpsilonRemover EpsilonRemover::EPSILON_REMOVER; } /* namespace simplify */ diff --git a/alib2algo/src/grammar/simplify/EpsilonRemover.h b/alib2algo/src/grammar/simplify/EpsilonRemover.h index ac3ce82122..e38f4cd7ce 100644 --- a/alib2algo/src/grammar/simplify/EpsilonRemover.h +++ b/alib2algo/src/grammar/simplify/EpsilonRemover.h @@ -55,7 +55,7 @@ private: void Visit(void*, const grammar::ContextPreservingUnrestrictedGrammar& grammar) const; void Visit(void*, const grammar::UnrestrictedGrammar& grammar) const; - static const EpsilonRemover EPSILON_REMOVER_; + static const EpsilonRemover EPSILON_REMOVER; }; } /* namespace simplify */ diff --git a/alib2data/src/automaton/FSM/CompactNFA.cpp b/alib2data/src/automaton/FSM/CompactNFA.cpp index 4717dc0adf..f721b3b5df 100644 --- a/alib2data/src/automaton/FSM/CompactNFA.cpp +++ b/alib2data/src/automaton/FSM/CompactNFA.cpp @@ -173,7 +173,7 @@ int CompactNFA::compare(const CompactNFA& other) const { } void CompactNFA::operator>>(std::ostream& out) const { - out << "(CompactNFA" + out << "(CompactNFA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialState = " << initialState diff --git a/alib2data/src/automaton/FSM/DFA.cpp b/alib2data/src/automaton/FSM/DFA.cpp index cf5c9eb51c..95ff3c9cd6 100644 --- a/alib2data/src/automaton/FSM/DFA.cpp +++ b/alib2data/src/automaton/FSM/DFA.cpp @@ -141,7 +141,7 @@ int DFA::compare(const DFA& other) const { } void DFA::operator>>(std::ostream& out) const { - out << "(DFA" + out << "(DFA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialState = " << initialState diff --git a/alib2data/src/automaton/FSM/EpsilonNFA.cpp b/alib2data/src/automaton/FSM/EpsilonNFA.cpp index 16bde674c8..4601d595a9 100644 --- a/alib2data/src/automaton/FSM/EpsilonNFA.cpp +++ b/alib2data/src/automaton/FSM/EpsilonNFA.cpp @@ -274,7 +274,7 @@ int EpsilonNFA::compare(const EpsilonNFA& other) const { } void EpsilonNFA::operator>>(std::ostream& out) const { - out << "(EpsilonNFA" + out << "(EpsilonNFA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialState = " << initialState diff --git a/alib2data/src/automaton/FSM/ExtendedNFA.cpp b/alib2data/src/automaton/FSM/ExtendedNFA.cpp index 3b6699d2a4..14b34fcbd9 100644 --- a/alib2data/src/automaton/FSM/ExtendedNFA.cpp +++ b/alib2data/src/automaton/FSM/ExtendedNFA.cpp @@ -185,7 +185,7 @@ int ExtendedNFA::compare(const ExtendedNFA& other) const { } void ExtendedNFA::operator>>(std::ostream& out) const { - out << "(ExtendedNFA" + out << "(ExtendedNFA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialState = " << initialState diff --git a/alib2data/src/automaton/FSM/MultiInitialStateNFA.cpp b/alib2data/src/automaton/FSM/MultiInitialStateNFA.cpp index d0b9c757bd..58447e8b10 100644 --- a/alib2data/src/automaton/FSM/MultiInitialStateNFA.cpp +++ b/alib2data/src/automaton/FSM/MultiInitialStateNFA.cpp @@ -164,7 +164,7 @@ int MultiInitialStateNFA::compare(const MultiInitialStateNFA& other) const { } void MultiInitialStateNFA::operator>>(std::ostream& out) const { - out << "(MultiInitialStateNFA" + out << "(MultiInitialStateNFA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialStates = " << initialStates diff --git a/alib2data/src/automaton/FSM/NFA.cpp b/alib2data/src/automaton/FSM/NFA.cpp index 402e9bd1b2..42b76332d8 100644 --- a/alib2data/src/automaton/FSM/NFA.cpp +++ b/alib2data/src/automaton/FSM/NFA.cpp @@ -147,7 +147,7 @@ int NFA::compare(const NFA& other) const { } void NFA::operator>>(std::ostream& out) const { - out << "(NFA" + out << "(NFA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialState = " << initialState diff --git a/alib2data/src/automaton/PDA/DPDA.cpp b/alib2data/src/automaton/PDA/DPDA.cpp index bd5199bac1..be0e9012c4 100644 --- a/alib2data/src/automaton/PDA/DPDA.cpp +++ b/alib2data/src/automaton/PDA/DPDA.cpp @@ -231,7 +231,7 @@ int DPDA::compare(const DPDA& other) const { } void DPDA::operator>>(std::ostream& out) const { - out << "(DPDA" + out << "(DPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialState = " << initialState diff --git a/alib2data/src/automaton/PDA/InputDrivenNPDA.cpp b/alib2data/src/automaton/PDA/InputDrivenNPDA.cpp index 3e5a751895..e524b4690d 100644 --- a/alib2data/src/automaton/PDA/InputDrivenNPDA.cpp +++ b/alib2data/src/automaton/PDA/InputDrivenNPDA.cpp @@ -183,7 +183,7 @@ int InputDrivenNPDA::compare(const InputDrivenNPDA& other) const { } void InputDrivenNPDA::operator>>(std::ostream& out) const { - out << "(InputDrivenNPDA" + out << "(InputDrivenNPDA " << " states = " << states << " inputAlphabet = " << inputAlphabet << " initialStates = " << initialStates diff --git a/alib2data/src/automaton/PDA/NPDA.cpp b/alib2data/src/automaton/PDA/NPDA.cpp index 792d9f7200..a6c96839b9 100644 --- a/alib2data/src/automaton/PDA/NPDA.cpp +++ b/alib2data/src/automaton/PDA/NPDA.cpp @@ -142,7 +142,7 @@ int NPDA::compare(const NPDA& other) const { } void NPDA::operator>>(std::ostream& out) const { - out << "(NPDA" + out << "(NPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialStates = " << initialStates diff --git a/alib2data/src/automaton/PDA/RealTimeHeightDeterministicDPDA.cpp b/alib2data/src/automaton/PDA/RealTimeHeightDeterministicDPDA.cpp index a85d75bb93..969ba37a26 100644 --- a/alib2data/src/automaton/PDA/RealTimeHeightDeterministicDPDA.cpp +++ b/alib2data/src/automaton/PDA/RealTimeHeightDeterministicDPDA.cpp @@ -375,7 +375,7 @@ int RealTimeHeightDeterministicDPDA::compare(const RealTimeHeightDeterministicDP } void RealTimeHeightDeterministicDPDA::operator>>(std::ostream& out) const { - out << "(RealTimeHeightDeterministicDPDA" + out << "(RealTimeHeightDeterministicDPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialState = " << initialState diff --git a/alib2data/src/automaton/PDA/RealTimeHeightDeterministicNPDA.cpp b/alib2data/src/automaton/PDA/RealTimeHeightDeterministicNPDA.cpp index fad698ce43..c073601335 100644 --- a/alib2data/src/automaton/PDA/RealTimeHeightDeterministicNPDA.cpp +++ b/alib2data/src/automaton/PDA/RealTimeHeightDeterministicNPDA.cpp @@ -266,7 +266,7 @@ int RealTimeHeightDeterministicNPDA::compare(const RealTimeHeightDeterministicNP } void RealTimeHeightDeterministicNPDA::operator>>(std::ostream& out) const { - out << "(RealTimeHeightDeterministicNPDA" + out << "(RealTimeHeightDeterministicNPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialStates = " << initialStates diff --git a/alib2data/src/automaton/PDA/SinglePopDPDA.cpp b/alib2data/src/automaton/PDA/SinglePopDPDA.cpp index c7ff484307..b8e1a85633 100644 --- a/alib2data/src/automaton/PDA/SinglePopDPDA.cpp +++ b/alib2data/src/automaton/PDA/SinglePopDPDA.cpp @@ -177,7 +177,7 @@ int SinglePopDPDA::compare(const SinglePopDPDA& other) const { } void SinglePopDPDA::operator>>(std::ostream& out) const { - out << "(SinglePopDPDA" + out << "(SinglePopDPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialState = " << initialState diff --git a/alib2data/src/automaton/PDA/SinglePopNPDA.cpp b/alib2data/src/automaton/PDA/SinglePopNPDA.cpp index 9fc7f474b5..90d2e1dfed 100644 --- a/alib2data/src/automaton/PDA/SinglePopNPDA.cpp +++ b/alib2data/src/automaton/PDA/SinglePopNPDA.cpp @@ -138,7 +138,7 @@ int SinglePopNPDA::compare(const SinglePopNPDA& other) const { } void SinglePopNPDA::operator>>(std::ostream& out) const { - out << "(SinglePopNPDA" + out << "(SinglePopNPDA " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialStates = " << initialStates diff --git a/alib2data/src/automaton/PDA/VisiblyPushdownDPDA.cpp b/alib2data/src/automaton/PDA/VisiblyPushdownDPDA.cpp index 71d9976031..b05d32a143 100644 --- a/alib2data/src/automaton/PDA/VisiblyPushdownDPDA.cpp +++ b/alib2data/src/automaton/PDA/VisiblyPushdownDPDA.cpp @@ -273,7 +273,7 @@ int VisiblyPushdownDPDA::compare(const VisiblyPushdownDPDA& other) const { } void VisiblyPushdownDPDA::operator>>(std::ostream& out) const { - out << "(VisiblyPushdownDPDA" + out << "(VisiblyPushdownDPDA " << "states = " << states << "callInputAlphabet = " << callInputAlphabet << "returnInputAlphabet = " << returnInputAlphabet diff --git a/alib2data/src/automaton/PDA/VisiblyPushdownNPDA.cpp b/alib2data/src/automaton/PDA/VisiblyPushdownNPDA.cpp index e72e3e0b48..a128e07dbc 100644 --- a/alib2data/src/automaton/PDA/VisiblyPushdownNPDA.cpp +++ b/alib2data/src/automaton/PDA/VisiblyPushdownNPDA.cpp @@ -206,7 +206,7 @@ int VisiblyPushdownNPDA::compare(const VisiblyPushdownNPDA& other) const { } void VisiblyPushdownNPDA::operator>>(std::ostream& out) const { - out << "(VisiblyPushdownNPDA" + out << "(VisiblyPushdownNPDA " << "states = " << states << "callInputAlphabet = " << callInputAlphabet << "returnInputAlphabet = " << returnInputAlphabet diff --git a/alib2data/src/automaton/TM/OneTapeDTM.cpp b/alib2data/src/automaton/TM/OneTapeDTM.cpp index 24078fae6d..d10917dea2 100644 --- a/alib2data/src/automaton/TM/OneTapeDTM.cpp +++ b/alib2data/src/automaton/TM/OneTapeDTM.cpp @@ -123,7 +123,7 @@ int OneTapeDTM::compare(const OneTapeDTM& other) const { } void OneTapeDTM::operator>>(std::ostream& out) const { - out << "(OneTapeDTM" + out << "(OneTapeDTM " << "states = " << states << "inputAlphabet = " << inputAlphabet << "initialState = " << initialState diff --git a/alib2data/src/grammar/ContextFree/CFG.cpp b/alib2data/src/grammar/ContextFree/CFG.cpp index 28970e6f53..2117024e3e 100644 --- a/alib2data/src/grammar/ContextFree/CFG.cpp +++ b/alib2data/src/grammar/ContextFree/CFG.cpp @@ -98,7 +98,7 @@ int CFG::compare(const CFG& other) const { } void CFG::operator>>(std::ostream& out) const { - out << "(CFG" + out << "(CFG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextFree/CNF.cpp b/alib2data/src/grammar/ContextFree/CNF.cpp index d49d05de8b..81327a8d84 100644 --- a/alib2data/src/grammar/ContextFree/CNF.cpp +++ b/alib2data/src/grammar/ContextFree/CNF.cpp @@ -180,7 +180,7 @@ int CNF::compare(const CNF& other) const { } void CNF::operator>>(std::ostream& out) const { - out << "(CNF" + out << "(CNF " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextFree/EpsilonFreeCFG.cpp b/alib2data/src/grammar/ContextFree/EpsilonFreeCFG.cpp index b218dfa80e..3c725e87b1 100644 --- a/alib2data/src/grammar/ContextFree/EpsilonFreeCFG.cpp +++ b/alib2data/src/grammar/ContextFree/EpsilonFreeCFG.cpp @@ -131,7 +131,7 @@ int EpsilonFreeCFG::compare(const EpsilonFreeCFG& other) const { } void EpsilonFreeCFG::operator>>(std::ostream& out) const { - out << "(EpsilonFreeCFG" + out << "(EpsilonFreeCFG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextFree/GNF.cpp b/alib2data/src/grammar/ContextFree/GNF.cpp index 1442c78ec8..3b6a9390dd 100644 --- a/alib2data/src/grammar/ContextFree/GNF.cpp +++ b/alib2data/src/grammar/ContextFree/GNF.cpp @@ -139,7 +139,7 @@ int GNF::compare(const GNF& other) const { } void GNF::operator>>(std::ostream& out) const { - out << "(GNF" + out << "(GNF " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextFree/LG.cpp b/alib2data/src/grammar/ContextFree/LG.cpp index c72293d1a2..37b54205fe 100644 --- a/alib2data/src/grammar/ContextFree/LG.cpp +++ b/alib2data/src/grammar/ContextFree/LG.cpp @@ -189,7 +189,7 @@ int LG::compare(const LG& other) const { } void LG::operator>>(std::ostream& out) const { - out << "(LG" + out << "(LG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextSensitive/CSG.cpp b/alib2data/src/grammar/ContextSensitive/CSG.cpp index c670106e89..fac3fd86da 100644 --- a/alib2data/src/grammar/ContextSensitive/CSG.cpp +++ b/alib2data/src/grammar/ContextSensitive/CSG.cpp @@ -128,7 +128,7 @@ int CSG::compare(const CSG& other) const { } void CSG::operator>>(std::ostream& out) const { - out << "(CSG" + out << "(CSG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/ContextSensitive/NonContractingGrammar.cpp b/alib2data/src/grammar/ContextSensitive/NonContractingGrammar.cpp index afefadb085..e7859f562d 100644 --- a/alib2data/src/grammar/ContextSensitive/NonContractingGrammar.cpp +++ b/alib2data/src/grammar/ContextSensitive/NonContractingGrammar.cpp @@ -109,7 +109,7 @@ int NonContractingGrammar::compare(const NonContractingGrammar& other) const { } void NonContractingGrammar::operator>>(std::ostream& out) const { - out << "(NonContractingGrammar" + out << "(NonContractingGrammar " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Regular/LeftLG.cpp b/alib2data/src/grammar/Regular/LeftLG.cpp index ad48e43948..7ba497ebfc 100644 --- a/alib2data/src/grammar/Regular/LeftLG.cpp +++ b/alib2data/src/grammar/Regular/LeftLG.cpp @@ -174,7 +174,7 @@ int LeftLG::compare(const LeftLG& other) const { } void LeftLG::operator>>(std::ostream& out) const { - out << "(LeftLG" + out << "(LeftLG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Regular/LeftRG.cpp b/alib2data/src/grammar/Regular/LeftRG.cpp index a2a002b145..38463ca09b 100644 --- a/alib2data/src/grammar/Regular/LeftRG.cpp +++ b/alib2data/src/grammar/Regular/LeftRG.cpp @@ -178,7 +178,7 @@ int LeftRG::compare(const LeftRG& other) const { } void LeftRG::operator>>(std::ostream& out) const { - out << "(LeftRG" + out << "(LeftRG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Regular/RightLG.cpp b/alib2data/src/grammar/Regular/RightLG.cpp index 754225be19..6956dcaff7 100644 --- a/alib2data/src/grammar/Regular/RightLG.cpp +++ b/alib2data/src/grammar/Regular/RightLG.cpp @@ -174,7 +174,7 @@ int RightLG::compare(const RightLG& other) const { } void RightLG::operator>>(std::ostream& out) const { - out << "(RightLG" + out << "(RightLG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Regular/RightRG.cpp b/alib2data/src/grammar/Regular/RightRG.cpp index 6ed47c4954..726bac2665 100644 --- a/alib2data/src/grammar/Regular/RightRG.cpp +++ b/alib2data/src/grammar/Regular/RightRG.cpp @@ -178,7 +178,7 @@ int RightRG::compare(const RightRG& other) const { } void RightRG::operator>>(std::ostream& out) const { - out << "(RightRG" + out << "(RightRG " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Unrestricted/ContextPreservingUnrestrictedGrammar.cpp b/alib2data/src/grammar/Unrestricted/ContextPreservingUnrestrictedGrammar.cpp index cf08035ca6..1f24c3ccf1 100644 --- a/alib2data/src/grammar/Unrestricted/ContextPreservingUnrestrictedGrammar.cpp +++ b/alib2data/src/grammar/Unrestricted/ContextPreservingUnrestrictedGrammar.cpp @@ -114,7 +114,7 @@ int ContextPreservingUnrestrictedGrammar::compare(const ContextPreservingUnrestr } void ContextPreservingUnrestrictedGrammar::operator>>(std::ostream& out) const { - out << "(ContextPreservingUnrestrictedGrammar" + out << "(ContextPreservingUnrestrictedGrammar " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol diff --git a/alib2data/src/grammar/Unrestricted/UnrestrictedGrammar.cpp b/alib2data/src/grammar/Unrestricted/UnrestrictedGrammar.cpp index 7056896eda..6c243e742c 100644 --- a/alib2data/src/grammar/Unrestricted/UnrestrictedGrammar.cpp +++ b/alib2data/src/grammar/Unrestricted/UnrestrictedGrammar.cpp @@ -95,7 +95,7 @@ int UnrestrictedGrammar::compare(const UnrestrictedGrammar& other) const { } void UnrestrictedGrammar::operator>>(std::ostream& out) const { - out << "(UnrestrictedGrammar" + out << "(UnrestrictedGrammar " << "nonterminalAlphabet = " << nonterminalAlphabet << "terminalAlphabet = " << terminalAlphabet << "initialSymbol = " << initialSymbol -- GitLab