/[svn]/linuxsampler/trunk/src/scriptvm/tree.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/tree.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3732 by schoenebeck, Fri Jan 31 10:57:53 2020 UTC revision 3733 by schoenebeck, Sat Feb 1 18:11:20 2020 UTC
# Line 25  Line 25 
25  #include "../common/global.h"  #include "../common/global.h"
26  #include "../common/Ref.h"  #include "../common/Ref.h"
27  #include "../common/ArrayList.h"  #include "../common/ArrayList.h"
28    #include "../common/optional.h"
29  #include "common.h"  #include "common.h"
30    
31  namespace LinuxSampler {  namespace LinuxSampler {
# Line 45  enum Qualifier_t { Line 46  enum Qualifier_t {
46      QUALIFIER_NONE = 0,      QUALIFIER_NONE = 0,
47      QUALIFIER_CONST = 1,      QUALIFIER_CONST = 1,
48      QUALIFIER_POLYPHONIC = (1<<1),      QUALIFIER_POLYPHONIC = (1<<1),
49        QUALIFIER_PATCH = (1<<2),
50    };
51    
52    struct PatchVarBlock {
53        CodeBlock nameBlock;
54        optional<CodeBlock> exprBlock;
55  };  };
56    
57  /**  /**
# Line 81  inline String qualifierStr(Qualifier_t q Line 88  inline String qualifierStr(Qualifier_t q
88          case QUALIFIER_NONE:          return "none";          case QUALIFIER_NONE:          return "none";
89          case QUALIFIER_CONST:         return "const";          case QUALIFIER_CONST:         return "const";
90          case QUALIFIER_POLYPHONIC:    return "polyphonic";          case QUALIFIER_POLYPHONIC:    return "polyphonic";
91            case QUALIFIER_PATCH:         return "patch";
92      }      }
93      return "unknown";      return "unknown";
94  }  }
# Line 949  public: Line 957  public:
957      std::vector<ParserIssue> vWarnings;      std::vector<ParserIssue> vWarnings;
958      std::vector<ParserIssue> vIssues;      std::vector<ParserIssue> vIssues;
959      std::vector<CodeBlock>   vPreprocessorComments;      std::vector<CodeBlock>   vPreprocessorComments;
960        std::map<String,PatchVarBlock> patchVars;
961    
962      std::set<String> builtinPreprocessorConditions;      std::set<String> builtinPreprocessorConditions;
963      std::set<String> userPreprocessorConditions;      std::set<String> userPreprocessorConditions;

Legend:
Removed from v.3732  
changed lines
  Added in v.3733

  ViewVC Help
Powered by ViewVC