summaryrefslogtreecommitdiff
path: root/ccode/valaccodereturnstatement.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-09-04 20:17:31 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-09-04 20:17:31 +0000
commitc7229010b2a88d3cf5e1f1f07e815635489bc788 (patch)
tree8479ea35d1d865beb2a754d056d051c2faa4adfc /ccode/valaccodereturnstatement.vala
parentffc76767c23915c789c6c0bf547c477ad85d39ae (diff)
downloadvala-c7229010b2a88d3cf5e1f1f07e815635489bc788.tar.gz
emit line directives in debug mode
2007-09-04 Juerg Billeter <j@bitron.ch> * vala/valacodenode.vala, ccode/valaccodebreakstatement.vala, ccode/valaccodecasestatement.vala, ccode/valaccodecontinuestatement.vala, ccode/valaccodedeclaration.vala, ccode/valaccodedostatement.vala, ccode/valaccodeexpressionstatement.vala, ccode/valaccodeforstatement.vala, ccode/valaccodefunction.vala, ccode/valaccodeifstatement.vala, ccode/valaccodereturnstatement.vala, ccode/valaccodeswitchstatement.vala, ccode/valaccodevariabledeclarator.vala, ccode/valaccodewhilestatement.vala, ccode/valaccodewriter.vala, gobject/valacodegenerator.vala, gobject/valacodegeneratormethod.vala, gobject/valacodegeneratorsourcefile.vala: emit line directives in debug mode svn path=/trunk/; revision=580
Diffstat (limited to 'ccode/valaccodereturnstatement.vala')
-rw-r--r--ccode/valaccodereturnstatement.vala4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccode/valaccodereturnstatement.vala b/ccode/valaccodereturnstatement.vala
index 192953d81..de3e2a96c 100644
--- a/ccode/valaccodereturnstatement.vala
+++ b/ccode/valaccodereturnstatement.vala
@@ -1,6 +1,6 @@
/* valaccodereturnstatement.vala
*
- * Copyright (C) 2006 Jürg Billeter
+ * Copyright (C) 2006-2007 Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -36,7 +36,7 @@ public class Vala.CCodeReturnStatement : CCodeStatement {
}
public override void write (CCodeWriter! writer) {
- writer.write_indent ();
+ writer.write_indent (line);
writer.write_string ("return");
if (return_expression != null) {