forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user