diff options
author | John ffitch <jpff@codemist.co.uk> | 2018-12-11 17:27:43 +0000 |
---|---|---|
committer | Sam Hartman <hartmans@debian.org> | 2019-03-21 10:31:29 -0400 |
commit | 2034988ed7c7cc156f720cae8c19d455f2a78542 (patch) | |
tree | d1c09b6c460966b50ed6df05c24aa44861b64702 | |
parent | d4ff8771a25298faa557cfecad9dce7b241d185d (diff) |
fix n and m in score strings
Gbp-Pq: Name fix-n-and-m-in-score-strings.patch
-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} { |