aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/delatex.lx
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2008-01-30 10:30:45 -0500
committerRuss Cox <rsc@swtch.com>2008-01-30 10:30:45 -0500
commit54dd92bebc97da7efb955f703c20cac8f4cbbb9f (patch)
tree4662b5d6e0a182b14afad3fbc49b6ba9eb558fe9 /src/cmd/delatex.lx
parent0206bd5113e727870d4eb24fbd5f17843745237d (diff)
parent0206bd5113e727870d4eb24fbd5f17843745237d (diff)
downloadplan9port-54dd92bebc97da7efb955f703c20cac8f4cbbb9f.tar.gz
plan9port-54dd92bebc97da7efb955f703c20cac8f4cbbb9f.tar.bz2
plan9port-54dd92bebc97da7efb955f703c20cac8f4cbbb9f.zip
merge
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);