Commit Graph

673 Commits

Author SHA1 Message Date
Hackerpilot f54f7823dc Update lexer and parser for 2.066 language changes 2014-05-27 08:26:06 +00:00
Hackerpilot 8d34ba7144 Fix incorrect unused parameter warnings in function types 2014-05-27 04:56:40 +00:00
Hackerpilot a6deb61207 Support parsing of virtual functions 2014-05-27 04:43:34 +00:00
Hackerpilot 2ce5995a1c Fix issues with doc comments being missing from some declarations 2014-05-26 02:52:53 +00:00
Hackerpilot e3d8e448bc Move string interning out of std.lexer 2014-05-26 02:52:00 +00:00
Hackerpilot 59ca571012 Use binary literals for bit masks 2014-05-26 01:30:51 +00:00
Hackerpilot 06f9891b62 Prevent false positive in slice error 2014-05-26 01:24:04 +00:00
Hackerpilot d8f4ed2307 Fix AST output for several tokens 2014-05-26 01:23:35 +00:00
Hackerpilot d6a5cb4294 Merge pull request #176 from workhorsy/duplicate_attribute
Duplicate attribute checker
2014-05-25 20:30:55 +00:00
Matthew Brennan Jones 657ef65952 Added pure and nothrow to the duplicate attribute checker. 2014-05-25 13:06:38 -07:00
Matthew Brennan Jones fad096cdff Added more attributes to the duplicate checker. 2014-05-24 18:24:37 -07:00
Matthew Brennan Jones be02c872b5 Removed duplicate @property attribute. 2014-05-23 20:50:42 -07:00
Matthew Brennan Jones 22104911d4 Added basic checker for duplicate attributes. 2014-05-23 20:37:48 -07:00
Hackerpilot 12d6120e10 Remove unnecessary blank lines from output 2014-05-19 14:48:23 -07:00
Hackerpilot 88f6d8d7ac Fix AST equality checks 2014-05-19 14:44:02 -07:00
Hackerpilot db84119e33 Handle Unicode byte order marks 2014-05-19 13:40:35 -07:00
Callum Anderson 59b9a64454 Current formatter work 2014-05-19 11:10:19 +10:00
Callum Anderson 9753afcb54 Allow c-style arrays 2014-05-19 11:09:54 +10:00
Hackerpilot 25f0d93b90 Improved memory management 2014-05-18 10:55:17 +00:00
Hackerpilot 979727b739 Free nodes as well 2014-05-18 09:03:45 +00:00
Hackerpilot 19dc7c707f Attempt to fix some issues with string interning 2014-05-18 08:13:23 +00:00
Hackerpilot 7a2d5f7e73 Fixed bug in unused parameter check 2014-05-18 00:48:35 +00:00
Hackerpilot 525790aefc Fix unit tests 2014-05-18 00:22:22 +00:00
Hackerpilot b0a6930a76 Merge pull request #173 from workhorsy/tests
Unit tests for analyzers
2014-05-17 23:54:42 +00:00
Matthew Brennan Jones 277e478466 Cleanup of test functions. 2014-05-17 12:17:44 -07:00
Matthew Brennan Jones 8231a0d1b8 Added basic unit tests to some analyzers. 2014-05-16 18:47:13 -07:00
Hackerpilot 43a8284c07 Relax exception check so that it only warns on catching Throwable and Error. Fix #159 2014-05-14 18:02:18 -07:00
Hackerpilot 8b4b2b342f Thrown variables are used 2014-05-13 14:08:07 -07:00
Hackerpilot 42e9adfcb2 Spelling 2014-05-13 14:07:45 -07:00
Hackerpilot 35e568a756 Fix unused parameter warnings for in and out parameters 2014-05-12 18:09:02 -07:00
Hackerpilot 1c87c48aa0 Numbers in module names are also permitted by the Phobos style guide 2014-05-12 18:08:14 -07:00
Hackerpilot 0aa1e20595 Fixed class parsing. Apparently constraints and base classes can go in either order 2014-05-12 18:05:29 -07:00
Hackerpilot a081ceda2a Fix @something(stuff) syntax parsing 2014-05-12 16:40:36 -07:00
Hackerpilot fd60696a24 Fix segfault 2014-05-12 16:39:59 -07:00
Hackerpilot e0dc18a8b5 Fixed several issues with the unused variable finder and relaxed the number format rule 2014-05-12 16:03:05 -07:00
Hackerpilot 5df5716993 Fixed memory corruption bug caused by GC 2014-05-12 15:30:22 -07:00
Hackerpilot b105a0f6a2 Remove more false positives in unused variable detection 2014-05-12 10:53:27 -07:00
Hackerpilot f71b1191c1 Update readme 2014-05-10 02:58:57 -07:00
Hackerpilot 87732c6657 Added unused variable check, and then used it to remove some unused variables 2014-05-10 02:56:01 -07:00
Hackerpilot e3ea0b698c Fix Windows build 2014-05-09 01:53:03 -07:00
Hackerpilot 017b90e31f Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-05-08 02:45:07 -07:00
Hackerpilot d97a2c5f34 Remove unused variable 2014-05-06 19:43:22 -07:00
Hackerpilot 17b42acc8d Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-05-06 19:36:30 -07:00
Hackerpilot 7fb5ca420d Fix formatting of types 2014-05-06 19:36:28 -07:00
Hackerpilot 55b8974ebe Fix formatting of parameters 2014-05-06 19:34:58 -07:00
Hackerpilot 1ecb831476 Merge branch 'master' of https://github.com/Hackerpilot/Dscanner 2014-05-06 19:32:37 -07:00
Hackerpilot 88a54f3fa5 Moar manual memory allocation 2014-05-06 19:31:55 -07:00
Hackerpilot 3081fa86c2 Fix highlighting of special token sequences and script lines 2014-05-06 16:41:19 -07:00
Hackerpilot 258aa066f7 Fix #172 2014-05-06 16:10:16 -07:00
Hackerpilot 867f8b426c Merge branch 'master' of https://github.com/Hackerpilot/Dscanner
Conflicts:
	std/d/parser.d
2014-05-01 15:24:23 -07:00