projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix the read/write flag for these registers on AArch64
[deliverable/binutils-gdb.git]
/
gdb
/
m2-exp.y
diff --git
a/gdb/m2-exp.y
b/gdb/m2-exp.y
index 2cf026c77a5c8c257e102af418d005cc8013f2f7..2cf2bb536355d915a6b20a7dc5f36680ad360314 100644
(file)
--- a/
gdb/m2-exp.y
+++ b/
gdb/m2-exp.y
@@
-65,7
+65,7
@@
int yyparse (void);
static int yylex (void);
static int yylex (void);
-void yyerror (const char *);
+
static
void yyerror (const char *);
static int parse_number (int);
static int parse_number (int);
@@
-1038,11
+1038,11
@@
m2_parse (struct parser_state *par_state)
return yyparse ();
}
return yyparse ();
}
-void
+
static
void
yyerror (const char *msg)
{
if (prev_lexptr)
lexptr = prev_lexptr;
yyerror (const char *msg)
{
if (prev_lexptr)
lexptr = prev_lexptr;
- error (_("A %s in expression, near `%s'."),
(msg ? msg : "error")
, lexptr);
+ error (_("A %s in expression, near `%s'."),
msg
, lexptr);
}
}
This page took
0.02881 seconds
and
4
git commands to generate.