projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-03-23 H.J. Lu <hongjiu.lu@intel.com>
[deliverable/binutils-gdb.git]
/
gas
/
read.c
diff --git
a/gas/read.c
b/gas/read.c
index 15ae78085fcb01155e736be5425b7a5a147c0b57..184dba7ebdc3e178215c0be9063cb5fb52aa9f7b 100644
(file)
--- a/
gas/read.c
+++ b/
gas/read.c
@@
-125,7
+125,8
@@
char lex_type[256] = {
};
/* In: a character.
};
/* In: a character.
- Out: 1 if this character ends a line. */
+ Out: 1 if this character ends a line.
+ 2 if this character is a line separator. */
char is_end_of_line[256] = {
#ifdef CR_EOL
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, /* @abcdefghijklmno */
char is_end_of_line[256] = {
#ifdef CR_EOL
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, /* @abcdefghijklmno */
@@
-239,7
+240,7
@@
read_begin (void)
/* Use machine dependent syntax. */
for (p = line_separator_chars; *p; p++)
/* Use machine dependent syntax. */
for (p = line_separator_chars; *p; p++)
- is_end_of_line[(unsigned char) *p] =
1
;
+ is_end_of_line[(unsigned char) *p] =
2
;
/* Use more. FIXME-SOMEDAY. */
if (flag_mri)
/* Use more. FIXME-SOMEDAY. */
if (flag_mri)
@@
-1920,6
+1921,10
@@
s_fill (int ignore ATTRIBUTE_UNUSED)
md_flush_pending_output ();
#endif
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
get_known_segmented_expression (&rep_exp);
if (*input_line_pointer == ',')
{
get_known_segmented_expression (&rep_exp);
if (*input_line_pointer == ',')
{
@@
-3119,6
+3124,10
@@
s_space (int mult)
md_flush_pending_output ();
#endif
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
if (flag_mri)
stop = mri_comment_field (&stopc);
if (flag_mri)
stop = mri_comment_field (&stopc);
@@
-3290,6
+3299,10
@@
s_float_space (int float_type)
char *stop = NULL;
char stopc = 0;
char *stop = NULL;
char stopc = 0;
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
if (flag_mri)
stop = mri_comment_field (&stopc);
if (flag_mri)
stop = mri_comment_field (&stopc);
@@
-4631,6
+4644,10
@@
float_cons (/* Clobbers input_line-pointer, checks end-of-line. */
md_flush_pending_output ();
#endif
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
do
{
/* input_line_pointer->1st char of a flonum (we hope!). */
do
{
/* input_line_pointer->1st char of a flonum (we hope!). */
@@
-5075,6
+5092,10
@@
stringer (int bits_appendzero)
md_flush_pending_output ();
#endif
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
/* The following awkward logic is to parse ZERO or more strings,
comma separated. Recall a string expression includes spaces
before the opening '\"' and spaces after the closing '\"'.
/* The following awkward logic is to parse ZERO or more strings,
comma separated. Recall a string expression includes spaces
before the opening '\"' and spaces after the closing '\"'.
@@
-5453,6
+5474,10
@@
s_incbin (int x ATTRIBUTE_UNUSED)
md_flush_pending_output ();
#endif
md_flush_pending_output ();
#endif
+#ifdef md_cons_align
+ md_cons_align (1);
+#endif
+
SKIP_WHITESPACE ();
filename = demand_copy_string (& len);
if (filename == NULL)
SKIP_WHITESPACE ();
filename = demand_copy_string (& len);
if (filename == NULL)
This page took
0.026929 seconds
and
4
git commands to generate.