--- a/trunk/python/python.lime
+++ b/trunk/python/python.lime
@@ -25,7 +25,7 @@
 	.
 
 simple_stmt 
-	= small_stmt NEWLINE 
+	= small_stmt NEWLINE newlines
 	.
 
 small_stmt 
@@ -58,6 +58,7 @@
 
 compound_stmt 
 	= while_stmt
+	| classdef
 	.
 
 while_stmt 
@@ -71,7 +72,12 @@
 
 suite 
 	= simple_stmt 
-	| NEWLINE INDENT stmt DEDENT
+	| NEWLINE INDENT stmts DEDENT
+	.
+
+stmts
+	=	stmts stmt
+	|	stmt
 	.
 
 testlist 
@@ -202,3 +208,8 @@
 	| FALSE 
 	.
 
+classdef
+	= CLASS NAME RBO testlist RBC COLON suite
+	| CLASS NAME RBO RBC COLON suite
+	| CLASS NAME COLON suite
+	.
\ No newline at end of file