aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-name-parser.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-name-parser.y')
-rw-r--r--gdb/cp-name-parser.y20
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y
index 7221b78..f7b8828 100644
--- a/gdb/cp-name-parser.y
+++ b/gdb/cp-name-parser.y
@@ -946,7 +946,7 @@ declarator_1 : ptr_operator declarator_1
| direct_declarator_1
/* Function local variable or type. The typespec to
- our left is the type of the containing function.
+ our left is the type of the containing function.
This should be OK, because function local types
can not be templates, so the return types of their
members will not be mangled. If they are hopefully
@@ -1163,7 +1163,7 @@ exp : exp '?' exp ':' exp %prec '?'
state->fill_comp (DEMANGLE_COMPONENT_TRINARY_ARG2, $3, $5)));
}
;
-
+
exp : INT
;
@@ -1180,7 +1180,7 @@ exp : SIZEOF '(' type ')' %prec UNARY
;
/* C++. */
-exp : TRUEKEYWORD
+exp : TRUEKEYWORD
{ struct demangle_component *i;
i = state->make_name ("1", 1);
$$ = state->fill_comp (DEMANGLE_COMPONENT_LITERAL,
@@ -1189,7 +1189,7 @@ exp : TRUEKEYWORD
}
;
-exp : FALSEKEYWORD
+exp : FALSEKEYWORD
{ struct demangle_component *i;
i = state->make_name ("0", 1);
$$ = state->fill_comp (DEMANGLE_COMPONENT_LITERAL,
@@ -1364,10 +1364,10 @@ cpname_state::parse_number (const char *p, int len, int parsed_float,
c = c_tolower (p[len - 1]);
if (c == 'f')
- {
- len--;
- type = make_builtin_type ("float");
- }
+ {
+ len--;
+ type = make_builtin_type ("float");
+ }
else if (c == 'l')
{
len--;
@@ -1589,7 +1589,7 @@ cp_parse_escape (const char **string_ptr)
state->lexptr += 2; \
lvalp->opname = string; \
return token; \
- }
+ }
#define HANDLE_TOKEN3(string, token) \
if (state->lexptr[1] == string[1] && state->lexptr[2] == string[2]) \
@@ -1597,7 +1597,7 @@ cp_parse_escape (const char **string_ptr)
state->lexptr += 3; \
lvalp->opname = string; \
return token; \
- }
+ }
/* Read one token, getting characters through LEXPTR. */