summaryrefslogtreecommitdiff
path: root/gdb/p-lang.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-15 16:00:56 +0000
committerPierre Muller <muller@sourceware.org>2011-03-15 16:00:56 +0000
commit6ced15815d5cc6cdd26036bdb3341bad0a4cda47 (patch)
tree486370bfb1f821e78b358b4908a16d5280a1783a /gdb/p-lang.c
parent9373cf26198091ce52ee863787dbb0ac7f053fcf (diff)
downloadbinutils-gdb-6ced15815d5cc6cdd26036bdb3341bad0a4cda47.tar.gz
Remove trailing spaces and tabulations from pascal language
support sources. p-exp.y: Ditto. p-lang.c: Ditto. p-lang.h: Ditto. p-valprint.c: Ditto.
Diffstat (limited to 'gdb/p-lang.c')
-rw-r--r--gdb/p-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/p-lang.c b/gdb/p-lang.c
index 0469de57cfe..655279bcfae 100644
--- a/gdb/p-lang.c
+++ b/gdb/p-lang.c
@@ -31,7 +31,7 @@
#include "valprint.h"
#include "value.h"
#include <ctype.h>
-
+
extern void _initialize_pascal_language (void);
@@ -107,7 +107,7 @@ is_pascal_string_type (struct type *type,int *length_pos,
/* Two fields: length and st. */
if (TYPE_NFIELDS (type) == 2
&& TYPE_FIELD_NAME (type, 0)
- && strcmp (TYPE_FIELD_NAME (type, 0), "length") == 0
+ && strcmp (TYPE_FIELD_NAME (type, 0), "length") == 0
&& TYPE_FIELD_NAME (type, 1)
&& strcmp (TYPE_FIELD_NAME (type, 1), "st") == 0)
{
@@ -268,7 +268,7 @@ pascal_printstr (struct ui_file *stream, struct type *type,
rep1 = i + 1;
reps = 1;
- while (rep1 < length
+ while (rep1 < length
&& extract_unsigned_integer (string + rep1 * width, width,
byte_order) == current_char)
{