diff options
Diffstat (limited to 'Engine/csound_prs.lex')
-rw-r--r-- | Engine/csound_prs.lex | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Engine/csound_prs.lex b/Engine/csound_prs.lex index 6ad48079..8254dda6 100644 --- a/Engine/csound_prs.lex +++ b/Engine/csound_prs.lex @@ -542,8 +542,12 @@ NM [nm][ \t]+ } } {NM} { - corfile_putc(csound, yytext[0], PARM->cf); - if (!PARM->isString) BEGIN(lname); + if (PARM->isString) { + corfile_putc(csound, yytext[0], PARM->cf); + BEGIN(lname); + } else { + corfile_puts(csound, yytext, PARM->cf); + } } <lname>[ \t]* /* eat the whitespace */ <lname>{IDENT} { |