Skip to content

Commit

Permalink
add newline in warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco149 committed Jan 16, 2018
1 parent defa0b6 commit a5eb3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oppai.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#define OPPAI_VERSION_MAJOR 1
#define OPPAI_VERSION_MINOR 1
#define OPPAI_VERSION_PATCH 39
#define OPPAI_VERSION_PATCH 40

/* if your compiler doesn't have stdint, define this */
#ifdef OPPAI_NOSTDINT
Expand Down Expand Up @@ -1139,7 +1139,7 @@ char* p_strings_at(struct parser* p, int32_t off) {
int32_t nop(int32_t x) { return x; }

#define parse_warn(e, line) \
info(e), print_line(line), nop(0)
info(e), info("\n"), print_line(line), nop(0)

/* consume until any of the characters in separators is found */
internalfn
Expand Down

0 comments on commit a5eb3dd

Please sign in to comment.