mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 18:39:34 +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>
|
2010-12-15 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
Rename "maint set python auto-load" to "set auto-load-scripts".
|
Rename "maint set python auto-load" to "set auto-load-scripts".
|
||||||
|
@ -1150,8 +1150,8 @@ yylex ()
|
|||||||
/* Catch specific keywords. */
|
/* Catch specific keywords. */
|
||||||
|
|
||||||
for (i = 0; f77_keywords[i].operator != NULL; i++)
|
for (i = 0; f77_keywords[i].operator != NULL; i++)
|
||||||
if (strncmp (tokstart, f77_keywords[i].operator,
|
if (strlen (f77_keywords[i].operator) == namelen
|
||||||
strlen(f77_keywords[i].operator)) == 0)
|
&& strncmp (tokstart, f77_keywords[i].operator, namelen) == 0)
|
||||||
{
|
{
|
||||||
/* lexptr += strlen(f77_keywords[i].operator); */
|
/* lexptr += strlen(f77_keywords[i].operator); */
|
||||||
yylval.opcode = f77_keywords[i].opcode;
|
yylval.opcode = f77_keywords[i].opcode;
|
||||||
|
Reference in New Issue
Block a user