-pl 46.jcn1
-Bugfix
- - reincluded {interval,pcursor,plist}.tcc
- - renamed Interval::elt_q to elt_b, invoking of empty to empty_b
- - readded second (0) arg to warning function (only lily exports
- a warning(String) function)
- - fixed dist make/Files.make
+pl 47
+ - dynamic flowerlib
+ - Input mods: now use Source_file iso Sources
+ - makefile lib deps restructured
+ - make_website now produces in out/
pl 46
- examples.pod
}
/** pop the inputstack. conceptually this is a destructor, but it
- does not destruct the Source_file it creates. */
+ does not destruct the Source_file that Includable_lexer::new_input creates. */
bool
Includable_lexer::close_input()
{
{
char_count_stack_.top() += count;
}
+
+Source_file*
+Includable_lexer::source_file_l()const
+{
+ return include_stack_.top();
+}
Array<Source_file*> include_stack_;
Array<int> char_count_stack_;
public:
+ Source_file* source_file_l()const;
void new_input(String s,Sources*);
Includable_lexer();
~Includable_lexer();
source_l_ = source_l;
lexer_p_ = 0;
default_duration_.type_i_ = 4;
- default_octave_i_ = 3; // retain old default
+ default_octave_i_ = 0;
textstyle_str_="roman"; // in lexer?
error_level_i_ = 0;
last_duration_mode = false;
Input
My_lily_parser::here_input()const
{
- return Input(source_l_, here_ch_C());
+ Source_file * f_l= lexer_p_->source_file_l();
+ return Input(f_l, here_ch_C());
}