X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=binutils%2Fdeflex.l;h=ea24df950f93c607002d3df1cbab7ccd4b4f4cef;hb=de96689e03235bfd65a33704a9d398cb666140f4;hp=0419f5f83b9e12ccbc40d7f05c7a4edc27abb006;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/deflex.l b/binutils/deflex.l index 0419f5f83b..ea24df950f 100644 --- a/binutils/deflex.l +++ b/binutils/deflex.l @@ -1,8 +1,8 @@ -%option noinput nounput +%option noinput nounput noyywrap %{/* deflex.l - Lexer for .def files */ -/* Copyright (C) 1995-2016 Free Software Foundation, Inc. +/* Copyright (C) 1995-2018 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -63,7 +63,7 @@ int linenumber; [0-9][x0-9A-Fa-f]* { yylval.number = strtol (yytext,0,0); return NUMBER; } -(@)?[A-Za-z$:\-\_?][A-Za-z0-9/$:\<\>\-\_@?]* { +(@)?[A-Za-z$:\-\_?][A-Za-z0-9/$:\<\>\-\_@?+]* { yylval.id = xstrdup (yytext); return ID; } @@ -91,7 +91,3 @@ int linenumber; "@" { return '@';} "," { return ',';} %% -#ifndef yywrap -/* Needed for lex, though not flex. */ -int yywrap(void) { return 1; } -#endif