         'nchnls_i'
         'sr'
       ]
-      lines = grammar.tokenizeLines headerGlobalVariables.join('\n')
+      lines = grammar.tokenizeLines(globalValues.join '\n')
       for i in [0...lines.length]
-        expect(lines[i][0]).toEqual value: headerGlobalVariables[i], scopes: ['source.csound', 'variable.other.readwrite.global.csound']
+        expect(lines[i][0]).toEqual value: globalValues[i], scopes: [
+          'source.csound'
+          'variable.other.readwrite.global.csound'
+        ]
 
     it 'tokenizes quoted strings', ->
       lines = grammar.tokenizeLines '"characters$MACRO."'
       tokens = lines[0]
-      expect(tokens[0]).toEqual value: '"', scopes: ['source.csound', 'string.quoted.csound', 'punctuation.definition.string.begin.csound']
-      expect(tokens[1]).toEqual value: 'characters', scopes: ['source.csound', 'string.quoted.csound']
-      expect(tokens[2]).toEqual value: '$MACRO.', scopes: ['source.csound', 'string.quoted.csound', 'entity.name.function.preprocessor.csound']
-      expect(tokens[3]).toEqual value: '"', scopes: ['source.csound', 'string.quoted.csound', 'punctuation.definition.string.end.csound']
+      expect(tokens[0]).toEqual value: '"', scopes: [
+        'source.csound'
+        'string.quoted.csound'
+        'punctuation.definition.string.begin.csound'
+      ]
+      expect(tokens[1]).toEqual value: 'characters', scopes: [
+        'source.csound'
+        'string.quoted.csound'
+      ]
+      expect(tokens[2]).toEqual value: '$MACRO.', scopes: [
+        'source.csound'
+        'string.quoted.csound'
+        'entity.name.function.preprocessor.csound'
+      ]
+      expect(tokens[3]).toEqual value: '"', scopes: [
+        'source.csound'
+        'string.quoted.csound'
+        'punctuation.definition.string.end.csound'
+      ]
 
     it 'tokenizes escaped characters', ->
       escapedCharacters = [

        ''
      ]
      # Putting a label after each string is enough to test the grammar, but
      # it is not always valid Csound syntax. In particular, loop_ge, loop_gt,
      # loop_le, and loop_lt all take four arguments, the last of which is a
      # label.
      lines = grammar.tokenizeLines keywordsAndOpcodes.join ' aLabel //\n'
      for i in [0...lines.length - 1]
        tokens = lines[i]
        expect(tokens[0]).toEqual value: keywordsAndOpcodes[i], scopes: ['source.csound', 'keyword.control.csound']
        expect(tokens[1]).toEqual value: ' ', scopes: ['source.csound']
        expect(tokens[2]).toEqual value: 'aLabel', scopes: ['source.csound', 'entity.name.label.csound']
        expect(tokens[3]).toEqual value: ' ', scopes: ['source.csound']
        expect(tokens[4]).toEqual value: '//', scopes: ['source.csound', 'comment.line.csound', 'punctuation.definition.comment.line.csound']

        'until'
        'while'
      ]
      lines = grammar.tokenizeLines(keywords.join '\n')
      for i in [0...lines.length]
        expect(lines[i][0]).toEqual value: keywords[i], scopes: [
          'source.csound'
          'keyword.control.csound'
        ]

    it 'tokenizes goto statements', ->
      keywordsAndOpcodes = [
