Skip to content

Commit

Permalink
Added support for deescaping of C# indentifiers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed Nov 19, 2019
1 parent 6e92b49 commit ec6e306
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ public class CSharpToCppTransformer : Transformer
// char*[] args
// char* args[]
(new Regex(@"([_a-zA-Z0-9:\*]?)\[\] ([a-zA-Z0-9]+)"), "$1 $2[]", null, 0),
// @object
// object
(new Regex(@"@([_a-zA-Z0-9]+)"), "$1", null, 0),
// using Platform.Numbers;
//
(new Regex(@"([\r\n]{2}|^)\s*?using [\.a-zA-Z0-9]+;\s*?$"), "", null, 0),
Expand Down

0 comments on commit ec6e306

Please sign in to comment.