         '\\T'
       ]
       for opcode in opcodes
-        tokens = (grammar.tokenizeLines "#{opcode} \"#{escapeSequences.join ''}\"")[0]
+        {tokens} = grammar.tokenizeLine "#{opcode} \"#{escapeSequences.join ''}\""
         expect(tokens[0]).toEqual value: opcode, scopes: [
           'source.csound'
           'support.function.csound'

        '\\345'
        '\\67'
      ]
      tokens = (grammar.tokenizeLines "\"#{escapeSequences.join ''}\"")[0]
      for i in [1...tokens.length - 1]
        expect(tokens[i]).toEqual value: escapeSequences[i - 1], scopes: [
          'source.csound'
          'string.quoted.csound'
          'constant.character.escape.csound'
        ]
      tokens = (grammar.tokenizeLines "{{#{escapeSequences.join ''}}}")[0]
      for i in [1...tokens.length - 1]
        expect(tokens[i]).toEqual value: escapeSequences[i - 1], scopes: [
          'source.csound'

        ]

    it 'tokenizes function-like macro use', ->
      {tokens} = grammar.tokenizeLine '$MACRO.(i1#i2)//'
      expect(tokens.length).toBe 9
      expect(tokens[0]).toEqual value: '$MACRO.', scopes: [
        'source.csound'
