aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.y
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-02-03 00:28:54 +0000
committerFred Fish <fnf@specifix.com>1993-02-03 00:28:54 +0000
commit9da75ad32ed2e8a5e8dad4ef019d7c31fe8c209e (patch)
tree556f55195aa13b08e730abce9b4d876388da1866 /gdb/ch-exp.y
parent58bcc08c6024f31c1f495ec2cdcd3248daee1930 (diff)
downloadfsf-binutils-gdb-9da75ad32ed2e8a5e8dad4ef019d7c31fe8c209e.zip
fsf-binutils-gdb-9da75ad32ed2e8a5e8dad4ef019d7c31fe8c209e.tar.gz
fsf-binutils-gdb-9da75ad32ed2e8a5e8dad4ef019d7c31fe8c209e.tar.bz2
* c-exp.y (lcurly, rcurly): New nonterminals.
* c-exp.y (exp): Use lcurly and rcurly for arrays and UNOP_MEMVAL constructs. * parse.c (free_funcalls): Moved prototype from parser-defs.h, made function static. * parse.c (struct funcall): Moved struct def from parser-defs.h. * parse.c (funcall_chain): Moved from parser-defs.h, made static. * parse.c (start_arglist): * parser-defs.h (free_funcalls): Moved prototype to parse.c. * parser-defs.h (struct funcall): Moved struct def to parse.c. * parser-defs.h (funcall_chain): Moved to parse.c. * printcmd.c (print_frame_nameless_args): Fix prototype. * tm-mips.h (setup_arbitrary_frame): Fix prototype. * tm-sparc.h (setup_arbitrary_frame): Fix prototype. * valops.c (typecmp): Moved prototype from values.h. * value.h (typecmp): Moved prototype to valops.c, made static. **** start-sanitize-chill **** * ch-exp.y (yylex): Change way control sequences are disabled. **** end-sanitize-chill ****
Diffstat (limited to 'gdb/ch-exp.y')
-rw-r--r--gdb/ch-exp.y5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/ch-exp.y b/gdb/ch-exp.y
index 1ee9c90..7233721 100644
--- a/gdb/ch-exp.y
+++ b/gdb/ch-exp.y
@@ -1420,7 +1420,7 @@ match_character_literal ()
if ((*tokptr == '^') && (*(tokptr + 1) == '('))
{
- return (0); /* Disable, see note above. */
+#if 0 /* Disable, see note above. -fnf */
/* Match and decode a control sequence. Return zero if we don't
find a valid integer literal, or if the next unconsumed character
after the integer literal is not the trailing ')'.
@@ -1431,6 +1431,9 @@ match_character_literal ()
{
return (0);
}
+#else
+ return (0);
+#endif
}
else
{