def get_preprocessor_define(node, buffer) :
    # Regex the #define. Group 1 is the name, Group 2 is the value 
    define = re.search('#define[\\s]+([^\\s]+)[\\s]+(.+)', buffer)
    if define :
        # The whole line is consumed, return an empty string to indicate that
        buffer = ''
        name = define.group(1)
        value = define.group(2).strip()
        node.funcs.add((name + '  (constant: ' + value + ')', name))
    return buffer
Return environments list.
dataset/ETHPy150Open austinwagner/sublime-sourcepawn/SPCompletions.py/get_preprocessor_define--crossover with--dataset/ETHPy150Open openstack/rally/rally/plugins/openstack/scenarios/murano/utils.py/MuranoScenario._list_environments