Jump to content
Tuts 4 You

Remove use of cs-parser.jay, use instead cs-parser.cs ???


CodeExplorer

Recommended Posts

Posted

Remove use of cs-parser.jay, use instead cs-parser.cs ???
Useful links:
https://www.codeproject.com/Articles/330184/How-does-it-work-in-Mono-s-C-compiler
https://stackoverflow.com/questions/7944695/jay-the-mono-c-sharp-compiler-and-changing-the-grammar
https://www.cnblogs.com/shanyou/archive/2012/09/03/2669711.html

So I already have  cs-parser.cs, the problem is that the unknown format file cs-parser.jay is used instead of cs-parser.cs,
I see this while I'm debugging the program. How to fix that?
My program is using NRefactory v5.2
Here is program uploaded:
https://www76.zippyshare.com/v/wZpa0g6k/file.html
 

Posted

Noticed under cs-parser.cs the presence of
#line 2940 "cs-parser.jay"

so I've replaced all strings "#line " with "//#line "  - just mark these wit comment
And I got it working.
 

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...