mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
LR0: Removed Lexer dependence
This commit is contained in:
parent
227c5ae8e5
commit
6d37c467cb
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@
|
|||
#include <LR0.h>
|
||||
#include <Table.h>
|
||||
#include <Color.h>
|
||||
#include <Lexer.h>
|
||||
#include <text.h>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
@ -243,7 +242,7 @@ std::string LR0::dump () const
|
|||
// Add columns.
|
||||
t.add ("State", true);
|
||||
for (auto& terminal : _terminals)
|
||||
t.add (Lexer::dequote (terminal), true);
|
||||
t.add (terminal, true);
|
||||
|
||||
for (auto& rule : _rules)
|
||||
t.add (rule, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue