Merge pull request #3800 from madewokherd/mingwbuild
[mono.git] / mcs / class / referencesource / System / regex / system / text / regularexpressions / RegexParser.cs
index b105e22a5a9d94a21ca410712a8ec8073b707822..d9c27a4ffec108c1cefd334bc83cec6e89e708ec 100644 (file)
@@ -567,11 +567,11 @@ namespace System.Text.RegularExpressions {
                     // This is code for Posix style properties - [:Ll:] or [:IsTibetan:].
                     // It currently doesn't do anything other than skip the whole thing!
                     if (CharsRight() > 0 && RightChar() == ':' && !inRange) {
-                        String name;
+//                        String name;
                         int savePos = Textpos();
 
                         MoveRight();
-                        name = ScanCapname();
+/*                        name = */ ScanCapname();
                         if (CharsRight() < 2 || MoveRightGetChar() != ':' || MoveRightGetChar() != ']')
                             Textto(savePos);
                         // else lookup name (nyi)
@@ -1336,7 +1336,7 @@ namespace System.Text.RegularExpressions {
          */
         internal bool IsOnlyTopOption(RegexOptions option) {
             return(option == RegexOptions.RightToLeft
-#if !SILVERLIGHT
+#if !(SILVERLIGHT||FULL_AOT_RUNTIME)
                 || option == RegexOptions.Compiled
 #endif
                 || option == RegexOptions.CultureInvariant
@@ -1476,7 +1476,7 @@ namespace System.Text.RegularExpressions {
                 ch += (char)('a' - 'A');
 
             switch (ch) {
-#if !SILVERLIGHT
+#if !(SILVERLIGHT||FULL_AOT_RUNTIME)
                 case 'c':
                     return RegexOptions.Compiled;
 #endif