diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-07 18:01:26 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-01-07 18:01:26 +0000 |
commit | 39e46e4d64364c5b3381604f6158672745e19d64 (patch) | |
tree | cba4d77666fc2f5aaa09b303754d7e68ad4ee5a5 /gcc/haifa-sched.c | |
parent | 624d93933e2c48fcdb1ebb6fcb3940f677abb12a (diff) | |
download | gcc-39e46e4d64364c5b3381604f6158672745e19d64.tar.gz |
2010-01-07 Basile Starynkevitch <basile@starynkevitch.net>
{{start adding alternative infix parser}}
* gcc/melt-predef.list: added CLASS_SEXPR_MACROSTRING, CLASS_INFIX_*
and updated copyright.
* gcc/melt-runtime.h (meltgc_open_infix_file, meltgc_open_infix_file)
(meltgc_close_infix_file, meltgc_infix_lexeme, FSINFLEX_LOCATION)
(FSINFLEX_DATA): added declarations.
* gcc/melt-runtime.c: removed some useless spaces.
(meltgc_open_infix_file, meltgc_open_infix_file)
(meltgc_close_infix_file, meltgc_infix_lexeme): added new
functions.
(commenthandling_en): added COMMENT_INFIX.
(skipspace_getc): handled COMMENT_INFIX.
(EXTRANAMECHARS): added |
(struct reading_st): removed rpgenv unused field.
(makesexpr): got an extra ismacrostring argument.
(MELT_INFIXREAD_MAGIC, struct infixreading_st, curinfixr): added
declarations.
(readsexpr, readmacrostringsequence, readval): added argument to
makesexpr calls.
(meltgc_read_file, meltgc_read_from_rawstring)
(meltgc_read_from_val): warn only once for a strange file name and
don't set rpgenv field in reading_st.
* gcc/melt/warmelt-first.melt: added class_sexpr_macrostring
class_infix_lexeme class_infix_string_literal
class_infix_integer_literal class_infix_symbol
class_infix_additive_symbol class_infix_multiplicative_symbol
class_infix_relational_symbol class_infix_delimiter
class_infix_keyword & lexeme_data field.
* gcc/melt/warmelt-infixsyntax.melt: added open_infix_file,
close_infix_file, infix_lexeme primitives.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@155699 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
0 files changed, 0 insertions, 0 deletions