summaryrefslogtreecommitdiff
path: root/src/decomp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-03-25 12:36:16 (GMT)
commita174ee784f5d9e554ed09181b8e6d8c0205f8ef5 (patch)
treef5ccfb4c41fcb1f237bc285e8e71bc188b7c8b57 /src/decomp
parentbbad297e902022ecac9fab21c01dc109560db8eb (diff)
Scrolled to the selected symbol.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@241 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp')
-rw-r--r--src/decomp/expr/block.c4
-rw-r--r--src/decomp/instruction.c4
-rw-r--r--src/decomp/lang/asm.c6
-rw-r--r--src/decomp/lang/java.c18
4 files changed, 16 insertions, 16 deletions
diff --git a/src/decomp/expr/block.c b/src/decomp/expr/block.c
index c14e169..1ec15a7 100644
--- a/src/decomp/expr/block.c
+++ b/src/decomp/expr/block.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* block.c - regroupement d'un lot d'instructions
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -154,7 +154,7 @@ static void g_expr_block_print(const GExprBlock *block, GCodeBuffer *buffer, GBu
for (i = 0; i < block->count; i++)
{
if (i > 0)
- line = g_code_buffer_append_new_line(buffer); /* FIXME : n° de ligne */
+ line = g_code_buffer_append_new_line_fixme(buffer); /* FIXME : n° de ligne */
g_dec_instruction_print(block->list[i], buffer, line, output);
diff --git a/src/decomp/instruction.c b/src/decomp/instruction.c
index 96411f5..c1afa44 100644
--- a/src/decomp/instruction.c
+++ b/src/decomp/instruction.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* instruction.c - gestion des instructions décompilées
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -94,7 +94,7 @@ static void g_dec_instruction_init(GDecInstruction *instr)
void g_dec_instruction_print(const GDecInstruction *instr, GCodeBuffer *buffer, GBufferLine *line, GLangOutput *output)
{
if (line == NULL)
- line = g_code_buffer_append_new_line(buffer); /* FIXME : n° de ligne */
+ line = g_code_buffer_append_new_line_fixme(buffer); /* FIXME : n° de ligne */
instr->print(instr, buffer, line, output);
diff --git a/src/decomp/lang/asm.c b/src/decomp/lang/asm.c
index 276d323..9ee8729 100644
--- a/src/decomp/lang/asm.c
+++ b/src/decomp/lang/asm.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* asm.c - sorties en langage d'assemblage
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -157,7 +157,7 @@ static GBufferLine *g_asm_output_write_comments(GAsmOutput *output, GCodeBuffer
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_COMMENTS, "; ", 2, RTT_COMMENT);
@@ -235,7 +235,7 @@ static GBufferLine *g_asm_output_start_routine_prototype(GAsmOutput *output, GCo
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
/* TODO */
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "XXX", 3, RTT_RAW);
diff --git a/src/decomp/lang/java.c b/src/decomp/lang/java.c
index 471b63c..7c5750b 100644
--- a/src/decomp/lang/java.c
+++ b/src/decomp/lang/java.c
@@ -2,7 +2,7 @@
/* OpenIDA - Outil d'analyse de fichiers binaires
* java.c - sorties en langage Java
*
- * Copyright (C) 2010 Cyrille Bagard
+ * Copyright (C) 2010-2012 Cyrille Bagard
*
* This file is part of OpenIDA.
*
@@ -184,7 +184,7 @@ static GBufferLine *g_java_output_start_comments(GJavaOutput *output, GCodeBuffe
{
GBufferLine *result; /* Nouvelle ligne à retourner */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_COMMENTS, "/**", 3, RTT_COMMENT);
@@ -212,7 +212,7 @@ static GBufferLine *g_java_output_continue_comments(GJavaOutput *output, GCodeBu
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_COMMENTS, " * ", 3, RTT_COMMENT);
@@ -241,7 +241,7 @@ static GBufferLine *g_java_output_end_comments(GJavaOutput *output, GCodeBuffer
{
GBufferLine *result; /* Nouvelle ligne à retourner */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_COMMENTS, " */", 3, RTT_COMMENT);
@@ -269,7 +269,7 @@ static GBufferLine *g_java_output_write_comments(GJavaOutput *output, GCodeBuffe
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_COMMENTS, "// ", 3, RTT_COMMENT);
@@ -347,7 +347,7 @@ static GBufferLine *g_java_output_start_class(GJavaOutput *output, GCodeBuffer *
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "class", 5, RTT_KEY_WORD);
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, " ", 1, RTT_RAW);
@@ -380,7 +380,7 @@ static void g_java_output_end_class(GJavaOutput *output, GCodeBuffer *buffer)
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "}", 1, RTT_HOOK);
@@ -407,7 +407,7 @@ static GBufferLine *g_java_output_start_routine_prototype(GJavaOutput *output, G
{
GBufferLine *result; /* Adresse nouvelle à remonter */
- result = g_code_buffer_append_new_line(buffer);
+ result = g_code_buffer_append_new_line_fixme(buffer);
/* TODO */
g_buffer_line_insert_text(result, BLC_ASSEMBLY_HEAD, "XXX", 3, RTT_RAW);
@@ -477,7 +477,7 @@ static void g_java_output_end_routine_body(GJavaOutput *output, GCodeBuffer *buf
{
GBufferLine *line; /* Nouvelle ligne à constituer */
- line = g_code_buffer_append_new_line(buffer);
+ line = g_code_buffer_append_new_line_fixme(buffer);
g_buffer_line_insert_text(line, BLC_ASSEMBLY_HEAD, "}", 1, RTT_HOOK);