|
Manager class: msg#00035lang.nemerle.devel
It seems that meantime the GlobalEnv stuff changed so I cannot initialize the LexerColorizer anymore. It was: LibraryReferenceManager.LoadMacrosFrom(@"c:\program files\nemerle\Nemerle.Macros.dll"); GlobalEnv.Init(); Now it gives errors. To what shall I change this? C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\NemerleIntegration\LanguageService\PythonScanner.cs(9,4): error CS0122: 'Nemerle.Compiler.LibraryReferenceManager' is inaccessible due to its protection level C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\NemerleIntegration\LanguageService\PythonScanner.cs(9,28): error CS0117: 'Nemerle.Compiler.LibraryReferenceManager' does not contain a definition for 'LoadMacrosFrom' C:\Program Files\Visual Studio 2005 SDK\2006.04\VisualStudioIntegration\Samples\NemerleIntegration\LanguageService\PythonScanner.cs(10,14): error CS0117: 'Nemerle.Compiler.GlobalEnv' does not contain a definition for 'Init' Another change in: NC.LexerString lexer = new Nemerle.Compiler.LexerString(NC.ManagerClass.Instance, req.Text, new NC.Location(0, 1, 1)); NC.PreParser preparser = new Nemerle.Compiler.PreParser(lexer); NC.Token.BracesGroup braces = preparser.PreParse(); Is "NC.ManagerClass.Instance" a good parameter for for the parser? I mean shall I implement some Manager class and use that or what? Maybe some documentation would not hurt... (I mean maybe 10 lines would suffice) ps: I am asking these questions after messing with the source and SVN log for 2 hours... :(
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: msbuild broken by nazgul's 6338, NoiseEHC |
|---|---|
| Next by Date: | Re: Manager class, Kamil Skalski |
| Previous by Thread: | msbuild broken by nazgul's 6338, NoiseEHC |
| Next by Thread: | Re: Manager class, Kamil Skalski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |