]> git.saurik.com Git - bison.git/blobdiff - src/scan-skel.l
(<SC_BRACED_CODE>"}"): Append ";" before the last brace in braced code
[bison.git] / src / scan-skel.l
index e7f5b708bf541042536956029741c63e67159ad1..fd9bd4c6fd93e601a6016ad867cb505de944beab 100644 (file)
@@ -1,5 +1,6 @@
 /* Scan Bison Skeletons.                                       -*- C -*-
-   Copyright (C) 2001, 2002  Free Software Foundation, Inc.
+
+   Copyright (C) 2001, 2002 Free Software Foundation, Inc.
 
    This file is part of Bison, the GNU Compiler Compiler.
 
 
 %{
 #include "system.h"
-#include "quotearg.h"
-#include "error.h"
+
+#include <error.h>
+#include <quotearg.h>
+
 #include "getargs.h"
 #include "files.h"
 
@@ -57,6 +60,7 @@ int skel_lex (void);
 
   XFREE (outname);
   outname = xstrdup (filename);
+  xfclose (yyout);
   yyout = xfopen (outname, "w");
   lineno = 1;
 }