s = s.left_string (s.length () - 1);
SCM sid = lookup_identifier (s);
- if (is_string (sid)) {
+ if (ly_c_string_p (sid)) {
new_input (ly_scm2string (sid), sources_);
yy_pop_state ();
} else {
String str (YYText () + 1);
SCM s = lookup_markup_command (str);
- if (is_pair (s) && is_symbol (ly_cdr (s)) ) {
+ if (ly_c_pair_p (s) && is_symbol (ly_cdr (s)) ) {
yylval.scm = ly_car(s);
SCM tag = ly_cdr(s);
if (tag == ly_symbol2scm("markup0"))
SCM sym = ly_symbol2scm (str.to_str0 ());
if ((YYSTATE == notes) || (YYSTATE == chords)) {
SCM handle = SCM_BOOL_F;
- if (is_pair (pitchname_tab_stack_))
+ if (ly_c_pair_p (pitchname_tab_stack_))
handle = scm_hashq_get_handle (ly_car (pitchname_tab_stack_), sym);
- if (is_pair (handle)) {
+ if (ly_c_pair_p (handle)) {
yylval.scm = ly_cdr (handle);
if (unsmob_pitch (yylval.scm))
return (YYSTATE == notes) ? NOTENAME_PITCH : TONICNAME_PITCH;