aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/delatex.lx
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/delatex.lx')
-rw-r--r--src/cmd/delatex.lx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cmd/delatex.lx b/src/cmd/delatex.lx
index 04f2480c..e4224aa7 100644
--- a/src/cmd/delatex.lx
+++ b/src/cmd/delatex.lx
@@ -54,9 +54,9 @@ main(int argc, char **argv)
{
int i;
- BEGIN Normal; /* Starts yylex off in the right state */
if (argc==1) {
yyin = stdin;
+ BEGIN Normal; /* Starts yylex off in the right state */
yylex();
}
else for (i=1; i<argc; i++) {
@@ -65,6 +65,7 @@ main(int argc, char **argv)
fprintf(stderr,"can't open %s\n",argv[i]);
exit(1);
}
+ BEGIN Normal; /* Starts yylex off in the right state */
yylex();
}
exit(0);