[Monodevelop-patches-list] r2521 - in trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory: . errors src src/CodeDOM src/Lexer src/Lexer/Reader src/Lexer/Specials src/Parser/AST src/Parser/AST/Expressions src/Parser/AST/GlobalScope src/Parser/AST/Statements src/Parser/AST/TypeLevel src/Parser/generated src/Parser/generated/keywordlist src/PrettyPrinter src/VBConverter tests
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Sat May 7 19:36:02 EDT 2005
Author: jluke
Date: 2005-05-07 19:36:01 -0400 (Sat, 07 May 2005)
New Revision: 2521
Modified:
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/Makefile.am
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/README
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-10.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-11.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-12.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-13.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-14.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-2.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-3.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-4.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-5.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-6.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-7.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-8.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-9.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/test-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/AssemblyInfo.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/CodeDOM/CodeDOMVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/FileReader.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/IReader.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/StringReader.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/BlankLine.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/Comment.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/CommentType.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/PreProcessingDirective.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/SpecialTracker.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/SpecialType.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/TagComment.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Main.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AbstractASTVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AbstractNode.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AttributeTargets.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/CompilationUnit.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/DebugASTVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Enums.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ArrayCreateExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ArrayInitializerExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/AssignmentExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/BaseReferenceExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/BinaryOperatorExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/CastExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/CheckedExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ConditionalExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/DirectionExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/Expression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/FieldReferenceExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/IdentifierExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/IndexerExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/InvocationExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ObjectCreateExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ParenthesizedExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/PointerReferenceExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/SizeOfExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/StackAllocExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ThisReferenceExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/TypeOfExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/TypeReferenceExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/UnaryOperatorExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/UncheckedExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/AttributeSection.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/DelegateDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/ExternAliasDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/NamespaceDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/TypeDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/UsingAliasDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/UsingDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/IASTVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/INode.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/LookupTableVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Modifier.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/BlockStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/BreakStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/CheckedStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ContinueStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/DoWhileStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/EmptyStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/FixedStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ForStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ForeachStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/GotoCaseStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/GotoStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/IfElseStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/IfStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LabelStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LocalVariableDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LockStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ReturnStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/Statement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/StatementExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/SwitchStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ThrowStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/TryCatchStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UncheckedStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UnsafeStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UsingStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/WhileStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/YieldStatement.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/ConstructorDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/DestructorDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventAddRegion.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventRemoveRegion.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/FieldDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/IndexerDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/MethodDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/OperatorDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/ParameterDeclarationExpression.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertyDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertyGetRegion.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertySetRegion.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/TypeReference.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/VariableDeclaration.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Error.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Modifiers.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.frame
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/ParserUtil.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Scanner.frame
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/ATGTokensSection.gen
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/BuildKeywords.pl
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/CSharpKeywordList.txt
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/Keywords.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/Tokens.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/OutputFormatter.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintData.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintOptions.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintUtil.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/SpecialVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/VBConverter/VBNetRefactory.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/VBConverter/VBNetVisitor.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/extern-alias-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/namespace-alias-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/static-class-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/static-class-2.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/test-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/unsafe-1.cs
trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs
Log:
set eol-style to native for all files in this assembly
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/ChangeLog
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/Makefile.am
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/README
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/TODO
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-10.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-11.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-12.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-13.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-14.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-2.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-3.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-4.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-5.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-6.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-7.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-8.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/static-class-9.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/errors/test-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/AssemblyInfo.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/CodeDOM/CodeDOMVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Lexer.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/FileReader.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/IReader.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Reader/StringReader.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/BlankLine.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/Comment.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/CommentType.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/PreProcessingDirective.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/SpecialTracker.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/SpecialType.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Lexer/Specials/TagComment.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Main.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AbstractASTVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AbstractNode.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/AttributeTargets.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/CompilationUnit.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/DebugASTVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Enums.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ArrayCreateExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ArrayInitializerExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/AssignmentExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/BaseReferenceExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/BinaryOperatorExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/CastExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/CheckedExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ConditionalExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/DirectionExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/Expression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/FieldReferenceExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/IdentifierExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/IndexerExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/InvocationExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ObjectCreateExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ParenthesizedExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/PointerReferenceExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/SizeOfExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/StackAllocExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/ThisReferenceExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/TypeOfExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/TypeReferenceExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/UnaryOperatorExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Expressions/UncheckedExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/AttributeSection.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/DelegateDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/ExternAliasDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/NamespaceDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/TypeDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/UsingAliasDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/GlobalScope/UsingDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/IASTVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/INode.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/LookupTableVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Modifier.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/BlockStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/BreakStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/CheckedStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ContinueStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/DoWhileStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/EmptyStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/FixedStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ForStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ForeachStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/GotoCaseStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/GotoStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/IfElseStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/IfStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LabelStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LocalVariableDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/LockStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ReturnStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/Statement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/StatementExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/SwitchStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/ThrowStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/TryCatchStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UncheckedStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UnsafeStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/UsingStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/WhileStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/Statements/YieldStatement.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/ConstructorDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/DestructorDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventAddRegion.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/EventRemoveRegion.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/FieldDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/IndexerDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/MethodDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/OperatorDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/ParameterDeclarationExpression.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertyDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertyGetRegion.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/PropertySetRegion.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/TypeReference.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/AST/TypeLevel/VariableDeclaration.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Error.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,12 +1,12 @@
-
-RUNTIME = mono
-NAMESPACE = ICSharpCode.SharpRefactory.Parser
-GRAMMAR = cs.ATG
-SHARPCOCO = ../../../../Tools/SharpCoco/SharpCoco.exe
-
-all: Parser.cs
-
-Parser.cs: $(GRAMMAR) $(SHARPCOCO)
- $(RUNTIME) $(SHARPCOCO) -namespace $(NAMESPACE) $(GRAMMAR)
- rm -f Parser.old.cs
-
+
+RUNTIME = mono
+NAMESPACE = ICSharpCode.SharpRefactory.Parser
+GRAMMAR = cs.ATG
+SHARPCOCO = ../../../../Tools/SharpCoco/SharpCoco.exe
+
+all: Parser.cs
+
+Parser.cs: $(GRAMMAR) $(SHARPCOCO)
+ $(RUNTIME) $(SHARPCOCO) -namespace $(NAMESPACE) $(GRAMMAR)
+ rm -f Parser.old.cs
+
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Makefile
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Modifiers.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.frame
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.frame 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.frame 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,120 +1,120 @@
-using System;
-using System.Reflection;
-
--->namespace
-
--->tokens
-
-public class Parser
-{
--->constants
- const bool T = true;
- const bool x = false;
- const int minErrDist = 2;
- const string errMsgFormat = "-- line {0} col {1}: {2}"; // 0=line, 1=column, 2=text
- int errDist = minErrDist;
- Errors errors;
- Lexer lexer;
-
- public Errors Errors {
- get {
- return errors;
- }
- }
-
--->declarations
-
-/*
--->pragmas
-*/
- void SynErr(int n)
- {
- if (errDist >= minErrDist) {
- errors.SynErr(lexer.LookAhead.line, lexer.LookAhead.col, n);
- }
- errDist = 0;
- }
-
- public void SemErr(string msg)
- {
- if (errDist >= minErrDist) {
- errors.Error(lexer.Token.line, lexer.Token.col, msg);
- }
- errDist = 0;
- }
-
- void Expect(int n)
- {
- if (lexer.LookAhead.kind == n) {
- lexer.NextToken();
- } else {
- SynErr(n);
- }
- }
-
- bool StartOf(int s)
- {
- return set[s, lexer.LookAhead.kind];
- }
-
- void ExpectWeak(int n, int follow)
- {
- if (lexer.LookAhead.kind == n) {
- lexer.NextToken();
- } else {
- SynErr(n);
- while (!StartOf(follow)) {
- lexer.NextToken();
- }
- }
- }
-
- bool WeakSeparator(int n, int syFol, int repFol)
- {
- bool[] s = new bool[maxT + 1];
-
- if (lexer.LookAhead.kind == n) {
- lexer.NextToken();
- return true;
- } else if (StartOf(repFol)) {
- return false;
- } else {
- for (int i = 0; i <= maxT; i++) {
- s[i] = set[syFol, i] || set[repFol, i] || set[0, i];
- }
- SynErr(n);
- while (!s[lexer.LookAhead.kind]) {
- lexer.NextToken();
- }
- return StartOf(syFol);
- }
- }
-
--->productions
-
- public void Parse(Lexer lexer)
- {
- this.errors = lexer.Errors;
- this.lexer = lexer;
- errors.SynErr = new ErrorCodeProc(SynErr);
- lexer.NextToken();
--->parseRoot
- }
-
- void SynErr(int line, int col, int errorNumber)
- {
- errors.count++;
- string s;
- switch (errorNumber) {
--->errors
- default: s = "error " + errorNumber; break;
- }
- errors.Error(line, col, s);
- }
-
- static bool[,] set = {
--->initialization
- };
-} // end Parser
-
-$$$
+using System;
+using System.Reflection;
+
+-->namespace
+
+-->tokens
+
+public class Parser
+{
+-->constants
+ const bool T = true;
+ const bool x = false;
+ const int minErrDist = 2;
+ const string errMsgFormat = "-- line {0} col {1}: {2}"; // 0=line, 1=column, 2=text
+ int errDist = minErrDist;
+ Errors errors;
+ Lexer lexer;
+
+ public Errors Errors {
+ get {
+ return errors;
+ }
+ }
+
+-->declarations
+
+/*
+-->pragmas
+*/
+ void SynErr(int n)
+ {
+ if (errDist >= minErrDist) {
+ errors.SynErr(lexer.LookAhead.line, lexer.LookAhead.col, n);
+ }
+ errDist = 0;
+ }
+
+ public void SemErr(string msg)
+ {
+ if (errDist >= minErrDist) {
+ errors.Error(lexer.Token.line, lexer.Token.col, msg);
+ }
+ errDist = 0;
+ }
+
+ void Expect(int n)
+ {
+ if (lexer.LookAhead.kind == n) {
+ lexer.NextToken();
+ } else {
+ SynErr(n);
+ }
+ }
+
+ bool StartOf(int s)
+ {
+ return set[s, lexer.LookAhead.kind];
+ }
+
+ void ExpectWeak(int n, int follow)
+ {
+ if (lexer.LookAhead.kind == n) {
+ lexer.NextToken();
+ } else {
+ SynErr(n);
+ while (!StartOf(follow)) {
+ lexer.NextToken();
+ }
+ }
+ }
+
+ bool WeakSeparator(int n, int syFol, int repFol)
+ {
+ bool[] s = new bool[maxT + 1];
+
+ if (lexer.LookAhead.kind == n) {
+ lexer.NextToken();
+ return true;
+ } else if (StartOf(repFol)) {
+ return false;
+ } else {
+ for (int i = 0; i <= maxT; i++) {
+ s[i] = set[syFol, i] || set[repFol, i] || set[0, i];
+ }
+ SynErr(n);
+ while (!s[lexer.LookAhead.kind]) {
+ lexer.NextToken();
+ }
+ return StartOf(syFol);
+ }
+ }
+
+-->productions
+
+ public void Parse(Lexer lexer)
+ {
+ this.errors = lexer.Errors;
+ this.lexer = lexer;
+ errors.SynErr = new ErrorCodeProc(SynErr);
+ lexer.NextToken();
+-->parseRoot
+ }
+
+ void SynErr(int line, int col, int errorNumber)
+ {
+ errors.count++;
+ string s;
+ switch (errorNumber) {
+-->errors
+ default: s = "error " + errorNumber; break;
+ }
+ errors.Error(line, col, s);
+ }
+
+ static bool[,] set = {
+-->initialization
+ };
+} // end Parser
+
+$$$
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Parser.frame
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/ParserUtil.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Scanner.frame
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Scanner.frame 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Scanner.frame 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,222 +1,222 @@
-using System;
-using System.Drawing;
-using System.IO;
-using System.Collections;
-using System.Text;
-
--->namespace
-
-public class Token {
- public int kind; // token kind
- public int pos; // token position in the source text (starting at 0)
- public int col; // token column (starting at 0)
- public int line; // token line (starting at 1)
- public string val; // token value
- public Token next; // AW 2003-03-07 Tokens are kept in linked list
-
- public Point Location {
- get {
- return new Point(line, col);
- }
- }
-
- public Token () { }
- public Token (int kind) { this.kind = kind; }
-}
-
-public class Buffer {
- public const int eof = '\uffff';
-
- static byte[] buf;
- static int bufLen;
- static int pos;
-
- public static void Fill (string fileName) {
- FileStream s = null;
- try {
- s = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
- Fill(s);
- } catch (IOException) {
- Console.WriteLine("--- Cannot open file {0}", fileName);
- System.Environment.Exit(0);
- } finally {
- if (s != null) s.Close();
- }
- }
-
- public static void Fill (Stream s) {
- bufLen = (int) s.Length;
- buf = new byte[bufLen];
- s.Read(buf, 0, bufLen);
- pos = 0;
- }
-
- public static int Read () {
- if (pos < bufLen) return buf[pos++];
- else return 0;
- }
-
- public static int Peek () {
- if (pos < bufLen) return buf[pos];
- else return 0;
- }
-
- /* AW 2003-03-10 moved this from ParserGen.cs */
- public static string GetString (int beg, int end) {
- StringBuilder s = new StringBuilder(64);
- int oldPos = Buffer.Pos;
- Buffer.Pos = beg;
- while (beg < end) { s.Append((char)Buffer.Read()); beg++; }
- Buffer.Pos = oldPos;
- return s.ToString();
- }
-
- public static int Pos {
- get { return pos; }
- set {
- if (value < 0) pos = 0;
- else if (value >= bufLen) pos = bufLen;
- else pos = value;
- }
- }
-}
-
-public class Scanner {
- const char EOF = '\0';
- const char EOL = '\n';
- const char CR = '\n';
-
--->constants
-
--->declarations
-
- static Token t; // current token
- static char ch; // current input character
- static int pos; // column number of current character
- static int line; // line number of current character
- static int lineStart; // start position of current line
- static int oldEols; // EOLs that appeared in a comment;
- static BitArray ignore; // set of characters to be ignored by the scanner
-
- /* ML ----- begin */
- static Token tokens; // the complete input token stream
- static Token pt; // current peek token
-
- static int peekCount = 0;
-
- public static int PeekCount { get { return peekCount; } }
-
- static void Init()
- {
- pos = -1; line = 1; lineStart = 0;
- oldEols = 0;
- NextCh();
--->initialization
-
- /* AW 2003-03-07 fill token list */
- tokens = new Token(); // first token is a dummy
- Token node = tokens;
- do {
- node.next = NextToken();
- node = node.next;
- } while (node.kind != 0); /* AW: 0 => EOF */
- t = pt = tokens;
- }
-
- public static void Init(String fileName) {
- Buffer.Fill(fileName);
- Init();
- }
-
- public static void Init(Stream s) {
- Buffer.Fill(s);
- Init();
- }
-
- static void NextCh() {
- if (oldEols > 0) { ch = EOL; oldEols--; }
- else {
- ch = (char)Buffer.Read(); pos++;
- // replace isolated '\r' by '\n' in order to make
- // eol handling uniform across Windows, Unix and Mac
- if (ch == '\r' && Buffer.Peek() != '\n') ch = EOL;
- else if (ch > '\u007f') ch = '?';
- if (ch == EOL) { line++; lineStart = pos + 1; }
- }
- }
-
--->comment
-
- static void CheckLiteral() {
- switch (t.val) {
--->literals
- }
- }
-
- /* AW Scan() renamed to NextToken() */
- static Token NextToken() {
- while (ignore[ch]) NextCh();
--->scan1
- t = new Token();
- t.pos = pos; t.col = pos - lineStart + 1; t.line = line;
- int state = start[ch];
- StringBuilder buf = new StringBuilder(16);
- buf.Append(ch); NextCh();
-
- switch (state) {
- case 0: { t.kind = noSym; goto done; } // NextCh already done
--->scan2
- }
- done:
- t.val = buf.ToString();
- return t;
- }
-
- /* AW 2003-03-07 get the next token, move on and synch peek token with current */
- public static Token Scan () {
- t = pt = t.next;
- return t;
- }
-
- /* AW 2003-03-07 get the next token, ignore pragmas */
- public static Token Peek () {
- do { // skip pragmas while peeking
- pt = pt.next;
- } while (pt != null && pt.kind > maxT);
- return pt;
- }
-
- /* AW 2003-03-11 to make sure peek start at current scan position */
- public static void StartPeek () { pt = t; }
-} // end Scanner
-
-
-public delegate void ErrorCodeProc (int line, int col, int n);
-public delegate void ErrorMsgProc (int line, int col, string msg);
-
-public class Errors {
- public static int count = 0; // number of errors detected
- public static ErrorCodeProc SynErr = new ErrorCodeProc(DefaultCodeError); // syntactic errors
- public static ErrorCodeProc SemErr = new ErrorCodeProc(DefaultCodeError); // semantic errors
- public static ErrorMsgProc Error = new ErrorMsgProc(DefaultMsgError); // user defined string based errors
- public static StringBuilder errorText = new StringBuilder();
-
- public static void Exception (string s) {
- Console.WriteLine(s);
- System.Environment.Exit(0);
- }
-
- static void DefaultCodeError (int line, int col, int n) {
- errorText.Append(String.Format("-- line {0} col {1}: error {2}", line, col, n));
- errorText.Append("\n");
- count++;
- }
-
- static void DefaultMsgError (int line, int col, string s) {
- errorText.Append(String.Format("-- line {0} col {1}: {2}", line, col, s));
- errorText.Append("\n");
- count++;
- }
-} // Errors
-
-$$$
+using System;
+using System.Drawing;
+using System.IO;
+using System.Collections;
+using System.Text;
+
+-->namespace
+
+public class Token {
+ public int kind; // token kind
+ public int pos; // token position in the source text (starting at 0)
+ public int col; // token column (starting at 0)
+ public int line; // token line (starting at 1)
+ public string val; // token value
+ public Token next; // AW 2003-03-07 Tokens are kept in linked list
+
+ public Point Location {
+ get {
+ return new Point(line, col);
+ }
+ }
+
+ public Token () { }
+ public Token (int kind) { this.kind = kind; }
+}
+
+public class Buffer {
+ public const int eof = '\uffff';
+
+ static byte[] buf;
+ static int bufLen;
+ static int pos;
+
+ public static void Fill (string fileName) {
+ FileStream s = null;
+ try {
+ s = new FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read);
+ Fill(s);
+ } catch (IOException) {
+ Console.WriteLine("--- Cannot open file {0}", fileName);
+ System.Environment.Exit(0);
+ } finally {
+ if (s != null) s.Close();
+ }
+ }
+
+ public static void Fill (Stream s) {
+ bufLen = (int) s.Length;
+ buf = new byte[bufLen];
+ s.Read(buf, 0, bufLen);
+ pos = 0;
+ }
+
+ public static int Read () {
+ if (pos < bufLen) return buf[pos++];
+ else return 0;
+ }
+
+ public static int Peek () {
+ if (pos < bufLen) return buf[pos];
+ else return 0;
+ }
+
+ /* AW 2003-03-10 moved this from ParserGen.cs */
+ public static string GetString (int beg, int end) {
+ StringBuilder s = new StringBuilder(64);
+ int oldPos = Buffer.Pos;
+ Buffer.Pos = beg;
+ while (beg < end) { s.Append((char)Buffer.Read()); beg++; }
+ Buffer.Pos = oldPos;
+ return s.ToString();
+ }
+
+ public static int Pos {
+ get { return pos; }
+ set {
+ if (value < 0) pos = 0;
+ else if (value >= bufLen) pos = bufLen;
+ else pos = value;
+ }
+ }
+}
+
+public class Scanner {
+ const char EOF = '\0';
+ const char EOL = '\n';
+ const char CR = '\n';
+
+-->constants
+
+-->declarations
+
+ static Token t; // current token
+ static char ch; // current input character
+ static int pos; // column number of current character
+ static int line; // line number of current character
+ static int lineStart; // start position of current line
+ static int oldEols; // EOLs that appeared in a comment;
+ static BitArray ignore; // set of characters to be ignored by the scanner
+
+ /* ML ----- begin */
+ static Token tokens; // the complete input token stream
+ static Token pt; // current peek token
+
+ static int peekCount = 0;
+
+ public static int PeekCount { get { return peekCount; } }
+
+ static void Init()
+ {
+ pos = -1; line = 1; lineStart = 0;
+ oldEols = 0;
+ NextCh();
+-->initialization
+
+ /* AW 2003-03-07 fill token list */
+ tokens = new Token(); // first token is a dummy
+ Token node = tokens;
+ do {
+ node.next = NextToken();
+ node = node.next;
+ } while (node.kind != 0); /* AW: 0 => EOF */
+ t = pt = tokens;
+ }
+
+ public static void Init(String fileName) {
+ Buffer.Fill(fileName);
+ Init();
+ }
+
+ public static void Init(Stream s) {
+ Buffer.Fill(s);
+ Init();
+ }
+
+ static void NextCh() {
+ if (oldEols > 0) { ch = EOL; oldEols--; }
+ else {
+ ch = (char)Buffer.Read(); pos++;
+ // replace isolated '\r' by '\n' in order to make
+ // eol handling uniform across Windows, Unix and Mac
+ if (ch == '\r' && Buffer.Peek() != '\n') ch = EOL;
+ else if (ch > '\u007f') ch = '?';
+ if (ch == EOL) { line++; lineStart = pos + 1; }
+ }
+ }
+
+-->comment
+
+ static void CheckLiteral() {
+ switch (t.val) {
+-->literals
+ }
+ }
+
+ /* AW Scan() renamed to NextToken() */
+ static Token NextToken() {
+ while (ignore[ch]) NextCh();
+-->scan1
+ t = new Token();
+ t.pos = pos; t.col = pos - lineStart + 1; t.line = line;
+ int state = start[ch];
+ StringBuilder buf = new StringBuilder(16);
+ buf.Append(ch); NextCh();
+
+ switch (state) {
+ case 0: { t.kind = noSym; goto done; } // NextCh already done
+-->scan2
+ }
+ done:
+ t.val = buf.ToString();
+ return t;
+ }
+
+ /* AW 2003-03-07 get the next token, move on and synch peek token with current */
+ public static Token Scan () {
+ t = pt = t.next;
+ return t;
+ }
+
+ /* AW 2003-03-07 get the next token, ignore pragmas */
+ public static Token Peek () {
+ do { // skip pragmas while peeking
+ pt = pt.next;
+ } while (pt != null && pt.kind > maxT);
+ return pt;
+ }
+
+ /* AW 2003-03-11 to make sure peek start at current scan position */
+ public static void StartPeek () { pt = t; }
+} // end Scanner
+
+
+public delegate void ErrorCodeProc (int line, int col, int n);
+public delegate void ErrorMsgProc (int line, int col, string msg);
+
+public class Errors {
+ public static int count = 0; // number of errors detected
+ public static ErrorCodeProc SynErr = new ErrorCodeProc(DefaultCodeError); // syntactic errors
+ public static ErrorCodeProc SemErr = new ErrorCodeProc(DefaultCodeError); // semantic errors
+ public static ErrorMsgProc Error = new ErrorMsgProc(DefaultMsgError); // user defined string based errors
+ public static StringBuilder errorText = new StringBuilder();
+
+ public static void Exception (string s) {
+ Console.WriteLine(s);
+ System.Environment.Exit(0);
+ }
+
+ static void DefaultCodeError (int line, int col, int n) {
+ errorText.Append(String.Format("-- line {0} col {1}: error {2}", line, col, n));
+ errorText.Append("\n");
+ count++;
+ }
+
+ static void DefaultMsgError (int line, int col, string s) {
+ errorText.Append(String.Format("-- line {0} col {1}: {2}", line, col, s));
+ errorText.Append("\n");
+ count++;
+ }
+} // Errors
+
+$$$
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/Scanner.frame
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/ATGTokensSection.gen
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/ATGTokensSection.gen 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/ATGTokensSection.gen 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,133 +1,133 @@
-/* START AUTOGENERATED TOKENS SECTION */
-TOKENS
- /* ----- terminal classes ----- */
- /* EOF is 0 */
- ident
- Literal
-
- /* ----- special character ----- */
- "="
- "+"
- "-"
- "*"
- "/"
- "%"
- ":"
- ";"
- "?"
- ","
- "."
- "{"
- "}"
- "["
- "]"
- "("
- ")"
- ">"
- "<"
- "!"
- "&&"
- "||"
- "~"
- "&"
- "|"
- "^"
- "++"
- "--"
- "=="
- "!="
- ">="
- "<="
- "<<"
- ">>"
- "+="
- "-="
- "*="
- "/="
- "%="
- "&="
- "|="
- "^="
- "<<="
- ">>="
- "->"
-
- /* ----- keywords ----- */
- "abstract"
- "as"
- "base"
- "bool"
- "break"
- "byte"
- "case"
- "catch"
- "char"
- "checked"
- "class"
- "const"
- "continue"
- "decimal"
- "default"
- "delegate"
- "do"
- "double"
- "else"
- "enum"
- "event"
- "explicit"
- "extern"
- "false"
- "finally"
- "fixed"
- "float"
- "for"
- "foreach"
- "goto"
- "if"
- "implicit"
- "in"
- "int"
- "interface"
- "internal"
- "is"
- "lock"
- "long"
- "namespace"
- "new"
- "null"
- "object"
- "operator"
- "out"
- "override"
- "params"
- "private"
- "protected"
- "public"
- "readonly"
- "ref"
- "return"
- "sbyte"
- "sealed"
- "short"
- "sizeof"
- "stackalloc"
- "static"
- "string"
- "struct"
- "switch"
- "this"
- "throw"
- "true"
- "try"
- "typeof"
- "uint"
- "ulong"
- "unchecked"
- "unsafe"
- "ushort"
- "using"
- "virtual"
- "void"
- "volatile"
- "while"
-/* END AUTOGENERATED TOKENS SECTION */
+/* START AUTOGENERATED TOKENS SECTION */
+TOKENS
+ /* ----- terminal classes ----- */
+ /* EOF is 0 */
+ ident
+ Literal
+
+ /* ----- special character ----- */
+ "="
+ "+"
+ "-"
+ "*"
+ "/"
+ "%"
+ ":"
+ ";"
+ "?"
+ ","
+ "."
+ "{"
+ "}"
+ "["
+ "]"
+ "("
+ ")"
+ ">"
+ "<"
+ "!"
+ "&&"
+ "||"
+ "~"
+ "&"
+ "|"
+ "^"
+ "++"
+ "--"
+ "=="
+ "!="
+ ">="
+ "<="
+ "<<"
+ ">>"
+ "+="
+ "-="
+ "*="
+ "/="
+ "%="
+ "&="
+ "|="
+ "^="
+ "<<="
+ ">>="
+ "->"
+
+ /* ----- keywords ----- */
+ "abstract"
+ "as"
+ "base"
+ "bool"
+ "break"
+ "byte"
+ "case"
+ "catch"
+ "char"
+ "checked"
+ "class"
+ "const"
+ "continue"
+ "decimal"
+ "default"
+ "delegate"
+ "do"
+ "double"
+ "else"
+ "enum"
+ "event"
+ "explicit"
+ "extern"
+ "false"
+ "finally"
+ "fixed"
+ "float"
+ "for"
+ "foreach"
+ "goto"
+ "if"
+ "implicit"
+ "in"
+ "int"
+ "interface"
+ "internal"
+ "is"
+ "lock"
+ "long"
+ "namespace"
+ "new"
+ "null"
+ "object"
+ "operator"
+ "out"
+ "override"
+ "params"
+ "private"
+ "protected"
+ "public"
+ "readonly"
+ "ref"
+ "return"
+ "sbyte"
+ "sealed"
+ "short"
+ "sizeof"
+ "stackalloc"
+ "static"
+ "string"
+ "struct"
+ "switch"
+ "this"
+ "throw"
+ "true"
+ "try"
+ "typeof"
+ "uint"
+ "ulong"
+ "unchecked"
+ "unsafe"
+ "ushort"
+ "using"
+ "virtual"
+ "void"
+ "volatile"
+ "while"
+/* END AUTOGENERATED TOKENS SECTION */
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/ATGTokensSection.gen
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/BuildKeywords.pl
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/BuildKeywords.pl 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/BuildKeywords.pl 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,227 +1,227 @@
-#!/bin/perl
-
-# File names
-$keyword_file = "CSharpKeywordList.txt";
-$keywords_outfile = "Keywords.cs";
-$tokens_outfile = "Tokens.cs";
-$ATGTokensSection = "ATGTokensSection.gen";
-
-#read infile
-print "\n";
-print "Reading keyword definition from '$keyword_file'.\n";
-open(DAT, $keyword_file) || die("Could not open file!");
- at raw_data=<DAT>;
-close(DAT);
-print "done.\n";
-
-#analyse infile
-print "starting analysation ... this could take a few minutes.\n";
-
-foreach (@raw_data) {
- if ($_=~/\A\s*\$(\w+)\s*=\s*(\S+)/) {
- #properties form: $PROPERTY = "VALUE"
- $properties{$1} = $2;
- } elsif ($_=~/\A\s*(\w+)\s*=\s*\"(\S+)\"/) {
- #special characters form: name = "VALUE"
- $special_chars[$#special_chars + 1] = $1;
- $special_values[$#special_values + 1] = $2;
- } elsif ($_=~/\A\s*\"(\S+)\s*\"/) {
- #special keywords form: "VALUE"
- $keywords[$#keywords + 1] = $1
- } elsif ($_=~/\A\s*(\w+)\s*/) {
- #special terminal classes form: name
- $terminals[$#terminals + 1] = $1
- }
-}
-
-for ($i=0; $i <= $#keywords; $i++) {
- $upperKeywords[$i] = uc $keywords[$i];
-}
-sort (ascend @upperKeywords);
-
-
-sort (ascend @keywords);
-print "done.\n";
-
-#write output
-print "writing output files.\nIf your computer doesnt respond, then press \"Ctrl-Alt-Delete\"\n";
-print "\n";
-&write_keywordfile;
-print "\n";
-&write_tokensfile;
-print "\n";
-&write_atgtokensfile;
-print "\n";
-print "finished.\n";
-
-sub write_keywordfile {
- print " ->Generating Keywords class to file '$keywords_outfile'\n";
- open(DAT,">$keywords_outfile") || die("Cannot Open File");
- print DAT "// this file was autogenerated by a tool.\n";
- print DAT "using System;\n";
- print DAT "using System.Collections;\n";
- print DAT "using System.Text;\n";
- print DAT "\n";
- print DAT "namespace " . $properties{'Namespace'} . "\n";
- print DAT "{\n";
- print DAT " public class Keywords\n";
- print DAT " {\n";
- print DAT " static readonly string[] keywordList = {\n";
- if ($properties{'UpperCaseKeywords'} eq "True") {
- for ($i=0; $i <= $#upperKeywords; $i++) {
- print DAT " \"$upperKeywords[$i]\"";
- if ($i + 1 <= $#upperKeywords) {
- print DAT ",";
- }
- print DAT "\n";
- }
- } else {
- for ($i=0; $i <= $#keywords; $i++) {
- print DAT " \"$keywords[$i]\"";
- if ($i + 1 <= $#keywords) {
- print DAT ",";
- }
- print DAT "\n";
- }
- }
-
- print DAT " };\n";
- print DAT " \n";
- print DAT " static Hashtable keywords = new Hashtable();\n";
- print DAT " \n";
- print DAT " static Keywords()\n";
- print DAT " {\n";
- print DAT " for (int i = 0; i < keywordList.Length; ++i) {\n";
- $up = ucfirst($keywords[0]);
- print DAT " keywords.Add(keywordList[i], i + Tokens.$up);\n";
- print DAT " }\n";
- print DAT " }\n";
- print DAT " \n";
- print DAT " public static bool IsKeyword(string identifier)\n";
- print DAT " {\n";
- if ($properties{'UpperCaseKeywords'} eq "True") {
- print DAT " return keywords[identifier.ToUpper()] != null;\n";
- } else {
- print DAT " return keywords[identifier] != null;\n";
- }
- print DAT " }\n";
- print DAT " \n";
- print DAT " public static int GetToken(string keyword)\n";
- print DAT " {\n";
- if ($properties{'UpperCaseKeywords'} eq "True") {
- print DAT " return (int)keywords[keyword.ToUpper()];\n";
- } else {
- print DAT " return (int)keywords[keyword];\n";
- }
- print DAT " }\n";
- print DAT " }\n";
- print DAT "}\n";
-
- close(DAT);
- print " ->done.\n";
-}
-
-sub write_token {
- $formattedString = sprintf("%-20s", ucfirst($tokenName));
- if ($tokenName eq "GetType") {
- print DAT " new public const int $formattedString = $tokenValue;";
- } else {
- print DAT " public const int $formattedString = $tokenValue;";
- }
- $tokenValue++;
-
-}
-
-sub write_tokensfile {
- print " ->Generating Tokens class to file '$tokens_outfile'\n";
- open(DAT,">$tokens_outfile") || die("Cannot Open File");
- print DAT "// this file was autogenerated by a tool.\n";
- print DAT "using System;\n";
- print DAT "\n";
- print DAT "namespace " . $properties{'Namespace'} . "\n";
- print DAT "{\n";
- print DAT " public sealed class Tokens\n";
- print DAT " {\n";
- $tokenValue = 0;
-
- print DAT " // ----- terminal classes -----\n";
- foreach (@terminals) {
- $tokenName = $_;
- write_token();
- print DAT "\n";
- }
- print DAT "\n";
- print DAT " // ----- special character -----\n";
- for ($i=0; $i <= $#special_chars; $i++) {
- $tokenName = $special_chars[$i];
- write_token();
- print DAT " // $special_values[$i] \n";
- }
- print DAT "\n";
- print DAT " // ----- keywords -----\n";
- foreach (@keywords) {
- $tokenName = $_;
- write_token();
- print DAT "\n";
- }
- print DAT "\n";
-
- print DAT " public static string GetTokenString(int token)\n";
- print DAT " {\n";
- print DAT " switch (token) {\n";
- for ($i = 0; $i <= $#special_chars; $i++) {
- print DAT " case $special_chars[$i]:\n";
- print DAT " return \"$special_values[$i]\";\n";
- }
- foreach (@keywords) {
- $up = ucfirst($_);
- print DAT " case $up:\n";
- print DAT " return \"$_\";\n";
- }
-
- print DAT " }\n";
- print DAT " throw new System.NotSupportedException(\"Unknown token:\" + token);\n";
- print DAT " }\n";
- print DAT " }\n";
-
-
-
- print DAT "}\n";
- close(DAT);
- print " ->done.\n";
-}
-
-sub write_atgtokensfile {
- print " ->Generating ATG TOKENS section and writing it to file '$ATGTokensSection'\n";
- open(DAT,">$ATGTokensSection") || die("Cannot Open File");
- print DAT "/* START AUTOGENERATED TOKENS SECTION */\n";
- print DAT "TOKENS\n";
-
- print DAT " /* ----- terminal classes ----- */\n";
- print DAT " /* EOF is 0 */\n";
- foreach $term (@terminals) {
- if ($term eq "EOF") {
- } elsif ($term eq "Identifier") {
- print DAT "\tident\n";
- } else {
- print DAT "\t$term\n";
- }
-
- }
-
- print DAT "\n";
- print DAT " /* ----- special character ----- */\n";
- foreach (@special_values) {
- print DAT "\t\"$_\"\n";
- }
- print DAT "\n";
- print DAT " /* ----- keywords ----- */\n";
- foreach (@keywords) {
- print DAT "\t\"$_\"\n";
- }
-
- print DAT "/* END AUTOGENERATED TOKENS SECTION */\n";
- close(DAT);
- print " ->done.\n";
-}
-
+#!/bin/perl
+
+# File names
+$keyword_file = "CSharpKeywordList.txt";
+$keywords_outfile = "Keywords.cs";
+$tokens_outfile = "Tokens.cs";
+$ATGTokensSection = "ATGTokensSection.gen";
+
+#read infile
+print "\n";
+print "Reading keyword definition from '$keyword_file'.\n";
+open(DAT, $keyword_file) || die("Could not open file!");
+ at raw_data=<DAT>;
+close(DAT);
+print "done.\n";
+
+#analyse infile
+print "starting analysation ... this could take a few minutes.\n";
+
+foreach (@raw_data) {
+ if ($_=~/\A\s*\$(\w+)\s*=\s*(\S+)/) {
+ #properties form: $PROPERTY = "VALUE"
+ $properties{$1} = $2;
+ } elsif ($_=~/\A\s*(\w+)\s*=\s*\"(\S+)\"/) {
+ #special characters form: name = "VALUE"
+ $special_chars[$#special_chars + 1] = $1;
+ $special_values[$#special_values + 1] = $2;
+ } elsif ($_=~/\A\s*\"(\S+)\s*\"/) {
+ #special keywords form: "VALUE"
+ $keywords[$#keywords + 1] = $1
+ } elsif ($_=~/\A\s*(\w+)\s*/) {
+ #special terminal classes form: name
+ $terminals[$#terminals + 1] = $1
+ }
+}
+
+for ($i=0; $i <= $#keywords; $i++) {
+ $upperKeywords[$i] = uc $keywords[$i];
+}
+sort (ascend @upperKeywords);
+
+
+sort (ascend @keywords);
+print "done.\n";
+
+#write output
+print "writing output files.\nIf your computer doesnt respond, then press \"Ctrl-Alt-Delete\"\n";
+print "\n";
+&write_keywordfile;
+print "\n";
+&write_tokensfile;
+print "\n";
+&write_atgtokensfile;
+print "\n";
+print "finished.\n";
+
+sub write_keywordfile {
+ print " ->Generating Keywords class to file '$keywords_outfile'\n";
+ open(DAT,">$keywords_outfile") || die("Cannot Open File");
+ print DAT "// this file was autogenerated by a tool.\n";
+ print DAT "using System;\n";
+ print DAT "using System.Collections;\n";
+ print DAT "using System.Text;\n";
+ print DAT "\n";
+ print DAT "namespace " . $properties{'Namespace'} . "\n";
+ print DAT "{\n";
+ print DAT " public class Keywords\n";
+ print DAT " {\n";
+ print DAT " static readonly string[] keywordList = {\n";
+ if ($properties{'UpperCaseKeywords'} eq "True") {
+ for ($i=0; $i <= $#upperKeywords; $i++) {
+ print DAT " \"$upperKeywords[$i]\"";
+ if ($i + 1 <= $#upperKeywords) {
+ print DAT ",";
+ }
+ print DAT "\n";
+ }
+ } else {
+ for ($i=0; $i <= $#keywords; $i++) {
+ print DAT " \"$keywords[$i]\"";
+ if ($i + 1 <= $#keywords) {
+ print DAT ",";
+ }
+ print DAT "\n";
+ }
+ }
+
+ print DAT " };\n";
+ print DAT " \n";
+ print DAT " static Hashtable keywords = new Hashtable();\n";
+ print DAT " \n";
+ print DAT " static Keywords()\n";
+ print DAT " {\n";
+ print DAT " for (int i = 0; i < keywordList.Length; ++i) {\n";
+ $up = ucfirst($keywords[0]);
+ print DAT " keywords.Add(keywordList[i], i + Tokens.$up);\n";
+ print DAT " }\n";
+ print DAT " }\n";
+ print DAT " \n";
+ print DAT " public static bool IsKeyword(string identifier)\n";
+ print DAT " {\n";
+ if ($properties{'UpperCaseKeywords'} eq "True") {
+ print DAT " return keywords[identifier.ToUpper()] != null;\n";
+ } else {
+ print DAT " return keywords[identifier] != null;\n";
+ }
+ print DAT " }\n";
+ print DAT " \n";
+ print DAT " public static int GetToken(string keyword)\n";
+ print DAT " {\n";
+ if ($properties{'UpperCaseKeywords'} eq "True") {
+ print DAT " return (int)keywords[keyword.ToUpper()];\n";
+ } else {
+ print DAT " return (int)keywords[keyword];\n";
+ }
+ print DAT " }\n";
+ print DAT " }\n";
+ print DAT "}\n";
+
+ close(DAT);
+ print " ->done.\n";
+}
+
+sub write_token {
+ $formattedString = sprintf("%-20s", ucfirst($tokenName));
+ if ($tokenName eq "GetType") {
+ print DAT " new public const int $formattedString = $tokenValue;";
+ } else {
+ print DAT " public const int $formattedString = $tokenValue;";
+ }
+ $tokenValue++;
+
+}
+
+sub write_tokensfile {
+ print " ->Generating Tokens class to file '$tokens_outfile'\n";
+ open(DAT,">$tokens_outfile") || die("Cannot Open File");
+ print DAT "// this file was autogenerated by a tool.\n";
+ print DAT "using System;\n";
+ print DAT "\n";
+ print DAT "namespace " . $properties{'Namespace'} . "\n";
+ print DAT "{\n";
+ print DAT " public sealed class Tokens\n";
+ print DAT " {\n";
+ $tokenValue = 0;
+
+ print DAT " // ----- terminal classes -----\n";
+ foreach (@terminals) {
+ $tokenName = $_;
+ write_token();
+ print DAT "\n";
+ }
+ print DAT "\n";
+ print DAT " // ----- special character -----\n";
+ for ($i=0; $i <= $#special_chars; $i++) {
+ $tokenName = $special_chars[$i];
+ write_token();
+ print DAT " // $special_values[$i] \n";
+ }
+ print DAT "\n";
+ print DAT " // ----- keywords -----\n";
+ foreach (@keywords) {
+ $tokenName = $_;
+ write_token();
+ print DAT "\n";
+ }
+ print DAT "\n";
+
+ print DAT " public static string GetTokenString(int token)\n";
+ print DAT " {\n";
+ print DAT " switch (token) {\n";
+ for ($i = 0; $i <= $#special_chars; $i++) {
+ print DAT " case $special_chars[$i]:\n";
+ print DAT " return \"$special_values[$i]\";\n";
+ }
+ foreach (@keywords) {
+ $up = ucfirst($_);
+ print DAT " case $up:\n";
+ print DAT " return \"$_\";\n";
+ }
+
+ print DAT " }\n";
+ print DAT " throw new System.NotSupportedException(\"Unknown token:\" + token);\n";
+ print DAT " }\n";
+ print DAT " }\n";
+
+
+
+ print DAT "}\n";
+ close(DAT);
+ print " ->done.\n";
+}
+
+sub write_atgtokensfile {
+ print " ->Generating ATG TOKENS section and writing it to file '$ATGTokensSection'\n";
+ open(DAT,">$ATGTokensSection") || die("Cannot Open File");
+ print DAT "/* START AUTOGENERATED TOKENS SECTION */\n";
+ print DAT "TOKENS\n";
+
+ print DAT " /* ----- terminal classes ----- */\n";
+ print DAT " /* EOF is 0 */\n";
+ foreach $term (@terminals) {
+ if ($term eq "EOF") {
+ } elsif ($term eq "Identifier") {
+ print DAT "\tident\n";
+ } else {
+ print DAT "\t$term\n";
+ }
+
+ }
+
+ print DAT "\n";
+ print DAT " /* ----- special character ----- */\n";
+ foreach (@special_values) {
+ print DAT "\t\"$_\"\n";
+ }
+ print DAT "\n";
+ print DAT " /* ----- keywords ----- */\n";
+ foreach (@keywords) {
+ print DAT "\t\"$_\"\n";
+ }
+
+ print DAT "/* END AUTOGENERATED TOKENS SECTION */\n";
+ close(DAT);
+ print " ->done.\n";
+}
+
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/BuildKeywords.pl
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/CSharpKeywordList.txt
===================================================================
--- trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/CSharpKeywordList.txt 2005-05-06 18:21:38 UTC (rev 2520)
+++ trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/CSharpKeywordList.txt 2005-05-07 23:36:01 UTC (rev 2521)
@@ -1,151 +1,151 @@
-# this list is used for autogeneration of:
-# - Keywords.cs
-# - Tokens.cs
-# - ATGTokensSection.txt - the TOKENS section of the ATG file
-
-# use BuildKeywords to generate the different lists.
-
-$Namespace=ICSharpCode.SharpRefactory.Parser
-$UpperCaseKeywords=False
-
-
-# TERMINAL_CLASSES
-EOF
-Identifier
-Literal
-
-# SPECIAL_CHARACTERS
-Assign = "="
-Plus = "+"
-Minus = "-"
-Times = "*"
-Div = "/"
-Mod = "%"
-
-Colon = ":"
-Semicolon = ";"
-Question = "?"
-Comma = ","
-Dot = "."
-
-OpenCurlyBrace = "{"
-CloseCurlyBrace = "}"
-
-OpenSquareBracket = "["
-CloseSquareBracket = "]"
-
-OpenParenthesis = "("
-CloseParenthesis = ")"
-
-GreaterThan = ">"
-LessThan = "<"
-
-Not = "!"
-LogicalAnd = "&&"
-LogicalOr = "||"
-
-BitwiseComplement = "~"
-BitwiseAnd = "&"
-BitwiseOr = "|"
-Xor = "^"
-
-Increment = "++"
-Decrement = "--"
-Equal = "=="
-NotEqual = "!="
-GreaterEqual = ">="
-LessEqual = "<="
-
-ShiftLeft = "<<"
-ShiftRight = ">>"
-
-PlusAssign = "+="
-MinusAssign = "-="
-TimesAssign = "*="
-DivAssign = "/="
-ModAssign = "%="
-BitwiseAndAssign = "&="
-BitwiseOrAssign = "|="
-XorAssign = "^="
-ShiftLeftAssign = "<<="
-ShiftRightAssign = ">>="
-Pointer = "->"
-
-# Keywordlist
-"abstract"
-"as"
-"base"
-"bool"
-"break"
-"byte"
-"case"
-"catch"
-"char"
-"checked"
-"class"
-"const"
-"continue"
-"decimal"
-"default"
-"delegate"
-"do"
-"double"
-"else"
-"enum"
-"event"
-"explicit"
-"extern"
-"false"
-"finally"
-"fixed"
-"float"
-"for"
-"foreach"
-"goto"
-"if"
-"implicit"
-"in"
-"int"
-"interface"
-"internal"
-"is"
-"lock"
-"long"
-"namespace"
-"new"
-"null"
-"object"
-"operator"
-"out"
-"override"
-"params"
-"private"
-"protected"
-"public"
-"readonly"
-"ref"
-"return"
-"sbyte"
-"sealed"
-"short"
-"sizeof"
-"stackalloc"
-"static"
-"string"
-"struct"
-"switch"
-"this"
-"throw"
-"true"
-"try"
-"typeof"
-"uint"
-"ulong"
-"unchecked"
-"unsafe"
-"ushort"
-"using"
-"virtual"
-"void"
-"volatile"
-"while"
+# this list is used for autogeneration of:
+# - Keywords.cs
+# - Tokens.cs
+# - ATGTokensSection.txt - the TOKENS section of the ATG file
+
+# use BuildKeywords to generate the different lists.
+
+$Namespace=ICSharpCode.SharpRefactory.Parser
+$UpperCaseKeywords=False
+
+
+# TERMINAL_CLASSES
+EOF
+Identifier
+Literal
+
+# SPECIAL_CHARACTERS
+Assign = "="
+Plus = "+"
+Minus = "-"
+Times = "*"
+Div = "/"
+Mod = "%"
+
+Colon = ":"
+Semicolon = ";"
+Question = "?"
+Comma = ","
+Dot = "."
+
+OpenCurlyBrace = "{"
+CloseCurlyBrace = "}"
+
+OpenSquareBracket = "["
+CloseSquareBracket = "]"
+
+OpenParenthesis = "("
+CloseParenthesis = ")"
+
+GreaterThan = ">"
+LessThan = "<"
+
+Not = "!"
+LogicalAnd = "&&"
+LogicalOr = "||"
+
+BitwiseComplement = "~"
+BitwiseAnd = "&"
+BitwiseOr = "|"
+Xor = "^"
+
+Increment = "++"
+Decrement = "--"
+Equal = "=="
+NotEqual = "!="
+GreaterEqual = ">="
+LessEqual = "<="
+
+ShiftLeft = "<<"
+ShiftRight = ">>"
+
+PlusAssign = "+="
+MinusAssign = "-="
+TimesAssign = "*="
+DivAssign = "/="
+ModAssign = "%="
+BitwiseAndAssign = "&="
+BitwiseOrAssign = "|="
+XorAssign = "^="
+ShiftLeftAssign = "<<="
+ShiftRightAssign = ">>="
+Pointer = "->"
+
+# Keywordlist
+"abstract"
+"as"
+"base"
+"bool"
+"break"
+"byte"
+"case"
+"catch"
+"char"
+"checked"
+"class"
+"const"
+"continue"
+"decimal"
+"default"
+"delegate"
+"do"
+"double"
+"else"
+"enum"
+"event"
+"explicit"
+"extern"
+"false"
+"finally"
+"fixed"
+"float"
+"for"
+"foreach"
+"goto"
+"if"
+"implicit"
+"in"
+"int"
+"interface"
+"internal"
+"is"
+"lock"
+"long"
+"namespace"
+"new"
+"null"
+"object"
+"operator"
+"out"
+"override"
+"params"
+"private"
+"protected"
+"public"
+"readonly"
+"ref"
+"return"
+"sbyte"
+"sealed"
+"short"
+"sizeof"
+"stackalloc"
+"static"
+"string"
+"struct"
+"switch"
+"this"
+"throw"
+"true"
+"try"
+"typeof"
+"uint"
+"ulong"
+"unchecked"
+"unsafe"
+"ushort"
+"using"
+"virtual"
+"void"
+"volatile"
+"while"
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/CSharpKeywordList.txt
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/Keywords.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/Parser/generated/keywordlist/Tokens.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/OutputFormatter.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintData.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintOptions.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintUtil.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/PrettyPrintVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/PrettyPrinter/SpecialVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/VBConverter/VBNetRefactory.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/src/VBConverter/VBNetVisitor.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/extern-alias-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/namespace-alias-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/partial-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/static-class-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/static-class-2.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/test-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/unsafe-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Property changes on: trunk/MonoDevelop/Core/src/ICSharpCode.SharpRefactory/tests/yield-1.cs
___________________________________________________________________
Name: svn:eol-style
+ native
More information about the Monodevelop-patches-list
mailing list