Exemplo n.º 1
0
 /// <summary>
 /// Initializes the preprocessor directives.
 /// </summary>
 private void InitializePreprocessorDirectives()
 {
     string[] preprocessorDirectives =
     {
         "#define", "#elif",  "#else", "#endif", "#error", "#if", "#ifdef", "#ifndef", "#include",
         "#line",   "#undef",
     };
     foreach (string preprocessorDirective in preprocessorDirectives)
     {
         PreprocessorDirectives.Add(new KeywordCompletionData(preprocessorDirective));
     }
 }
        /// <summary>
        /// Tests PreprocessorDirectives.cs
        /// </summary>
        public static void PreprocessorDirectives()
        {
            PreprocessorDirectives pd = new PreprocessorDirectives();

            pd.TestPreprocessorDirectives();
        }