X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=binutils%2Fdeflex.l;h=1ada969f6dd012c41dfe19147d2e7ecaaed5aa65;hb=refs%2Fheads%2Fconcurrent-displaced-stepping-2020-04-01;hp=de09b6157efcf2f1a40015a5c10c9cccd0188e3c;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/binutils/deflex.l b/binutils/deflex.l index de09b6157e..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-2017 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