Daniel Grunwald
670b0d5212
Fixed C# parser bug regarding integer literals between long.MaxValue + 1 and ulong.MaxValue.
...
C# spec 2.4.4.2: Implemented rules regarding int.MinValue and long.MinValue (they get tokenized to Token.Minus + Token.Literal(uint/ulong), but must be parsed as signed int/long)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2638 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9d73b7042e
C# lexer: add support for 32-bit unicode escape sequences (including those that represent surrogate pairs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2636 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6331df6b0c
Fixed forum-17502: exception in C# and VB lexer when a hexadecimal literal is larger than ulong.MaxValue.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2559 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
28f4a33d01
Fixed C# lexer: double-quote in verbatim string parsed incorrectly
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1017 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
32abb6ee5a
Change file header.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c24a108bb4
Improved C# lexer performance.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@907 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
6c6d72de24
Fixed SD2-457: C# lexer crash on "0x"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@518 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
f4fa1ef613
Switched to NUnit for the NRefactory tests because Mike failed to tell me why he switched to MbUnit and broke ~20 Tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Mike Krüger
0e42d49abe
SharpRefactory tests are now running under MbUnit.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
041bf1f1b8
Fixed SD2-423: Cast to array types cause parser error.
...
Fixed C# lexer bug with long hexadecimal literals.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@392 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
331c44292e
Applied new header to all source files.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@230 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
01ddddbf6a
Fixed Lexer bug (both C#/VB): OverflowException was thrown when dot was at end of expression.
...
Fixed Lexer bug (C#): OverflowException was thrown when integer literal was at end of expression.
Added unit tests for literals.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@77 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago