dgrok icon indicating copy to clipboard operation
dgrok copied to clipboard

DGrok Delphi parser

Results 8 dgrok issues
Sort by recently updated
recently updated
newest added

Just change the following will solve the issue. #region TypeDecl AddRule(RuleType.TypeDecl, TokenSets.Ident.LookAhead, delegate => #region TypeDecl AddRule(RuleType.TypeDecl, delegate { return CanParseRule(RuleType.Ident) && !CanParseRule(RuleType.Visibility); }, delegate

The examples that come with the Object Pascal Handbook yield the following parse error ``` Failing (1) Expected EqualSign but found ProcedureKeyword (1) .\NestedClass.pas:263 ``` The Offending file is here...

Fix issue Failure to parse ZEROBASEDSTRINGS compiler directive joewhite#6 https://github.com/joewhite/dgrok/issues/6 Add an ignored directive type for ZEROBASEDSTRINGS to Source/DGrok.Framework/Framework/TokenFilter.cs Add a new test case ZeroBasedStringsCompilerDirectivesAreIgnored() to verifiy that {$ZEROBASEDSTRINGS ......

The examples that come with the Object Pascal Handbook yield the following parse error ``` Unrecognized compiler directive 'ZEROBASEDSTRINGS' (1) .\StringMetaTestForm.pas:651 ``` The offending line in ObjectPascalHandbook/06/StringMetaTest/StringMetaTestForm.pas is `31:{$ZEROBASEDSTRINGS ON}`...

Fix issue Failure to parse HIGHCHARUNICODE compiler directive https://github.com/joewhite/dgrok/issues/4 Add an ignored directive type for "HIGHCHARUNICODE"] to Source/DGrok.Framework/Framework/TokenFilter.cs Add a new test case HighCharUnicodeCompilerDirectivesAreIgnored() to verifiy that {$HIGHCHARUNICODE ... }...

The examples that come with the Object Pascal Handbook yield the following parse error ``` ObjectPascalHandbook/06/CharTest/CharTestForm.pas 35:{$HIGHCHARUNICODE ON} ``` This example can be found here on github: https://github.com/MarcoDelphiBooks/ObjectPascalHandbook/tree/master/06/CharTest HIGHCHARUNICODE is...

Given the following code: ``` unit Unit1; interface type TMyClass = class private type TMyRec = record end; protected Foo: Integer; end; implementation end. ``` The parser incorrectly interprets the...

I opened the existing project in Visual Studio 2015, which prompted me to upgrade it. These are the changes that the upgrade process made. Now that Visual Studio 2015 is...