Browse Source

fixed parser generation

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1978 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Markus Palme 19 years ago
parent
commit
2a40620a58
  1. 10
      src/Libraries/NRefactory/Project/Src/Parser/CSharp/Parser.cs
  2. BIN
      src/Libraries/NRefactory/Project/Src/Parser/Frames/SharpCoco.exe
  3. 6495
      src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs
  4. 25
      src/Libraries/NRefactory/Project/Src/Parser/gen.bat

10
src/Libraries/NRefactory/Project/Src/Parser/CSharp/Parser.cs

@ -1,18 +1,18 @@
#line 1 "cs.ATG" #line 1 "cs.ATG"
using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using ICSharpCode.NRefactory.Parser;
using ICSharpCode.NRefactory.Ast; using ICSharpCode.NRefactory.Ast;
using ASTAttribute = ICSharpCode.NRefactory.Ast.Attribute; using ASTAttribute = ICSharpCode.NRefactory.Ast.Attribute;
using Types = ICSharpCode.NRefactory.Ast.ClassType; using Types = ICSharpCode.NRefactory.Ast.ClassType;
/* /*
Parser.frame file for NRefactory. Parser.frame file for NRefactory.
*/ */
using System;
using System.Reflection;
namespace ICSharpCode.NRefactory.Parser.CSharp { namespace ICSharpCode.NRefactory.Parser.CSharp {

BIN
src/Libraries/NRefactory/Project/Src/Parser/Frames/SharpCoco.exe

Binary file not shown.

6495
src/Libraries/NRefactory/Project/Src/Parser/VBNet/Parser.cs

File diff suppressed because it is too large Load Diff

25
src/Libraries/NRefactory/Project/Src/Parser/gen.bat

@ -1,18 +1,23 @@
@echo off @echo off
goto new goto old
:new
:old
echo Generating with #Coco echo Generating with #Coco
cd CSharp
..\Frames\SharpCoco -namespace ICSharpCode.NRefactory.Parser.CSharp -frames ..\Frames cs.ATG
del Parser.cs.old >NUL
cd ..
cd VBNet cd Frames
..\Frames\SharpCoco -namespace ICSharpCode.NRefactory.Parser.VB -frames ..\Frames VBNET.ATG
del Parser.cs.old >NUL copy ..\CSharp\cs.ATG
goto exit SharpCoco -namespace ICSharpCode.NRefactory.Parser.CSharp cs.ATG
move Parser.cs ..\CSharp
copy ..\VBNet\VBNET.ATG
SharpCoco -trace GIPXA -namespace ICSharpCode.NRefactory.Parser.VB VBNET.ATG
move Parser.cs ..\VBNet
del cs.ATG
del VBNET.ATG
:exit :exit
pause pause

Loading…
Cancel
Save