diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-28 00:51:17 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2018-02-28 00:51:17 +0100 |
| commit | d5cf794076899803b9a34eb46d3b2e34f3e3cfbc (patch) | |
| tree | 783e637acbeab9c65777c345ae834a93ab7fc86a /CrowIDE/src/SourceEditor/CSharpParser.cs | |
| parent | 8e82014a444722660692bbf730017651ddb6c88c (diff) | |
change styling grammar for value now enclose in double quoteStyleModif
Diffstat (limited to 'CrowIDE/src/SourceEditor/CSharpParser.cs')
| -rw-r--r-- | CrowIDE/src/SourceEditor/CSharpParser.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CrowIDE/src/SourceEditor/CSharpParser.cs b/CrowIDE/src/SourceEditor/CSharpParser.cs index 7d56ce43..8c445824 100644 --- a/CrowIDE/src/SourceEditor/CSharpParser.cs +++ b/CrowIDE/src/SourceEditor/CSharpParser.cs @@ -7,7 +7,7 @@ using System.Linq; namespace Crow.Coding { - public class CSharpParser : Parser + public class CSharpParser : BufferParser { #region keywords string[] keywords = new string[] { @@ -171,7 +171,7 @@ namespace Crow.Coding if (Peek () == '\n') { if (currentTok != TokenType.Unknown) - throw new ParsingException (this, "Unexpected end of line"); + throw new ParserException (currentLine, currentColumn, "Unexpected end of line"); Read (); eol = true; continue; @@ -182,7 +182,7 @@ namespace Crow.Coding Debugger.Break (); currentTok.Start = CurrentPosition; - currentTok.Type = (Parser.TokenType)TokenType.BlockComment; + currentTok.Type = (BufferParser.TokenType)TokenType.BlockComment; currentTok += ReadLineUntil ("*/"); if (Peek (2) == "*/") { readToCurrTok (2); |