diff --git a/src/cmdparse.l b/src/cmdparse.l index cbce18d4..c333f7ae 100644 --- a/src/cmdparse.l +++ b/src/cmdparse.l @@ -107,7 +107,7 @@ back_and_forth { BEGIN(INITIAL); return TOK_BACK_AND_FORTH; } * 'move to workspace') while we also need to support * 'move workspace to output '. */ to { yy_pop_state(); return TOK_TO; } -[^to] { yy_pop_state(); yy_push_state(WANT_STRING); yyless(0); } +[^t] { yy_pop_state(); yy_push_state(WANT_STRING); yyless(0); } \"[^\"]+\" { BEGIN(INITIAL);