]> git.draconx.ca Git - gob-dx.git/blobdiff - src/lexer.l
Release 0.91.2
[gob-dx.git] / src / lexer.l
index 35e42ccb89cca3935f9206dc2112967fe6ccb3dd..448da9506c5be47f01c9b9c08beb8534815347f4 100644 (file)
@@ -258,8 +258,9 @@ class               {
                        BEGIN(C_CODE);
                        parenth_depth=1;
                        class_after_c = TRUE;
-                       ccode_line = line_no;
                        yylval.line = line_no;
+                       clear_cbuf();
+                       ccode_line = line_no;
                        return '{';
                }
 <CLASS_CODE_I>\}       {