1999-09-04 Steve Chamberlain <sac@pobox.com>
[deliverable/binutils-gdb.git] / binutils / arlex.l
index 409aaa97a334ec99302b1eb98983b35d5d610082..74e13d13dfe295a88589e73088694d6179363d87 100644 (file)
@@ -1,7 +1,7 @@
 %{
 /* arlex.l - Strange script language lexer */
 
-/*   Copyright (C) 1992 Free Software Foundation, Inc.
+/*   Copyright (C) 1992, 95, 1997 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -17,7 +17,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 
 /* Contributed by Steve Chamberlain
@@ -26,8 +26,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 */
 #define DONTDECLARE_MALLOC
 #include <ansidecl.h>
-#include <sysdep.h>
+#include "libiberty.h"
 #include "arparse.h"
+
 int linenumber;
 %}
 %%
@@ -67,7 +68,7 @@ int linenumber;
 ")"             { return ')'; }
 ","             { return ','; }
 [A-Za-z0-9/$:.\-\_]+  {        
-               yylval.name =  strdup(yytext);
+               yylval.name =  xstrdup (yytext);
                return FILENAME;
                }
 "*".*          { }
This page took 0.025079 seconds and 4 git commands to generate.