diff tests/parser/function_pointer.d @ 172:01c2c49775ef

- Changed Parser to be more clean on type parsing. - Parsing int function(int), and the like, types.(Function pointers) - Fixed a design fault that made Symbol be wrong. Now Symbols are created with a factory with the help of types.
author Anders Johnsen <skabet@gmail.com>
date Thu, 24 Jul 2008 20:31:24 +0200
parents
children dc9bf56b7ace
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/parser/function_pointer.d	Thu Jul 24 20:31:24 2008 +0200
@@ -0,0 +1,6 @@
+
+int main()
+{
+}
+
+int function(int x) f;