mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
2010-12-15 Greg Watson <g.watson@computer.org>
* f-exp.y (yylex): Check entire token against keywords.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2010-12-15 Greg Watson <g.watson@computer.org>
|
||||
|
||||
* f-exp.y (yylex): Check entire token against keywords.
|
||||
|
||||
2010-12-15 Doug Evans <dje@google.com>
|
||||
|
||||
Rename "maint set python auto-load" to "set auto-load-scripts".
|
||||
|
@ -1150,8 +1150,8 @@ yylex ()
|
||||
/* Catch specific keywords. */
|
||||
|
||||
for (i = 0; f77_keywords[i].operator != NULL; i++)
|
||||
if (strncmp (tokstart, f77_keywords[i].operator,
|
||||
strlen(f77_keywords[i].operator)) == 0)
|
||||
if (strlen (f77_keywords[i].operator) == namelen
|
||||
&& strncmp (tokstart, f77_keywords[i].operator, namelen) == 0)
|
||||
{
|
||||
/* lexptr += strlen(f77_keywords[i].operator); */
|
||||
yylval.opcode = f77_keywords[i].opcode;
|
||||
|
Reference in New Issue
Block a user