aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/parser.cpp b/parser.cpp
index 1ce6e2c..7c10445 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -80,11 +80,8 @@ State::get_next_state(gchar chr)
StateStart::StateStart() : State()
{
- transitions['\0'] = this;
- transitions[' '] = this;
- transitions['\r'] = this;
- transitions['\n'] = this;
- transitions['\v'] = this;
+ transitions['\0'] = this;
+ init(" \r\n\v");
}
void