diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-08-11 23:49:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-08-11 23:49:17 +0000 |
commit | 19be7c0800cf0457a1faa31227b065b38450a120 (patch) | |
tree | 78e0fe004df60155d54c6347bc4ec8d5d7fcf896 /gas/input-scrub.c | |
parent | 74a86d1f9502ec8197c377a3eee7cf929f3a0f9e (diff) | |
download | gdb-19be7c0800cf0457a1faa31227b065b38450a120.zip gdb-19be7c0800cf0457a1faa31227b065b38450a120.tar.gz gdb-19be7c0800cf0457a1faa31227b065b38450a120.tar.bz2 |
* gasp.c (change_base): Don't treat ' specially in MRI mode.
(process_file): Don't warn about missing END in MRI mode.
(do_if): New static function.
(get_mri_string, do_ifc): New static functions.
(buffer_and_nest): Treat MRI mode like alternate syntax mode.
(do_aendr): Change error message in MRI mode.
(do_arepeat): Use REPT/ENDR in MRI mode.
(do_formals): In MRI mode, add special NARG formal.
(macro_expand): Various changes for MRI mode: permit a qualifier
on the macro name; set special NARG formal; permit unnamed
positional arguments; use && to concatenate named parameters;
permit \d to specify an unnamed parameter; permit named parameters
to not start with \; use == to see if a parameter exists.
(getstring): In MRI mode, allow <> to quote a string.
(K_IFEQ, K_IFNE, K_IFLT, K_IFLE, K_IFGE, K_IFGT): Define.
(K_IFC, K_IFNC): Define.
(struct keyword): Name structure used in kinfo array.
(mrikinfo): New static array.
(process_pseudo_op): Don't require leading '.' in MRI mode.
Handle new MRI pseudo-op definitions.
(add_keyword): New static function, broken out of process_init.
(process_init): Use add_keyword. In MRI mode, add mrikinfo table.
(long_options): Add "mri".
(show_usage): Mention -M/--mri.
(main): Call process_init after processing arguments. Handle -M.
* doc/gasp.texi: Document -M/--mri.
Diffstat (limited to 'gas/input-scrub.c')
0 files changed, 0 insertions, 0 deletions