X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=binutils%2Fdeflex.l;h=1ada969f6dd012c41dfe19147d2e7ecaaed5aa65;hb=fe7d6a8db01f2a71520578267df7cd2d780ececb;hp=0419f5f83b9e12ccbc40d7f05c7a4edc27abb006;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/deflex.l b/binutils/deflex.l index 0419f5f83b..1ada969f6d 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-2020 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