[639403] Fixes the endless recursion with hacked EOF
authorMarek Safar <marek.safar@gmail.com>
Wed, 15 Sep 2010 09:23:01 +0000 (10:23 +0100)
committerMarek Safar <marek.safar@gmail.com>
Wed, 15 Sep 2010 09:26:38 +0000 (10:26 +0100)
mcs/mcs/cs-parser.jay

index 526ed6389c01cca0d1efc8c790e2ccdc23f8cff5..bab3ddf64267edb837bbffd425a1222797bb989d 100644 (file)
@@ -5915,7 +5915,7 @@ opt_query_continuation
 
 interactive_parsing
        : EVAL_STATEMENT_PARSER EOF 
-       | EVAL_USING_DECLARATIONS_UNIT_PARSER using_directives 
+       | EVAL_USING_DECLARATIONS_UNIT_PARSER using_directives opt_COMPLETE_COMPLETION
        | EVAL_STATEMENT_PARSER { 
                Evaluator.LoadAliases (current_namespace);