#ifndef FIRM_BE_BEEMITTER_H
#define FIRM_BE_BEEMITTER_H
+#include "firm_config.h"
+
#include <stdio.h>
#include <stdarg.h>
#include "firm_types.h"
int linelength; /**< The length of the current line. */
} be_emit_env_t;
+#define NULL_EMITTER { NULL, NULL_OBST, 0 }
+
/**
* Emit a character to the (assembler) output.
*
* @param env the emitter environment
* @param str the null-terminated string constant
*/
-#define be_emit_cstring(env, str) { be_emit_string_len(env, str, sizeof(str)-1); }
+#define be_emit_cstring(env, str) do { be_emit_string_len(env, str, sizeof(str)-1); } while(0)
/**
* Initializes an emitter environment.