Browse Source

reformat code

master
CismonX 1 year ago
parent
commit
af42c44645
No known key found for this signature in database GPG Key ID: 315D6652268C5007
  1. 8
      src/Makefile.am
  2. 2
      src/logging.c

8
src/Makefile.am

@ -5,8 +5,8 @@ bin_PROGRAMS = u6ac u6a
u6ac_SOURCES = logging.c lexer.c parser.c codegen.c u6ac.c mnemonic.c dump.c
u6a_SOURCES = logging.c vm_stack.c vm_pool.c runtime.c u6a.c
TEST_DIR = ${srcdir}/../tests
DEJAGNU_GLOBALS_BIN = U6A_BIN=${srcdir}/u6a U6AC_BIN=${srcdir}/u6ac U6A_RUN=${TEST_DIR}/u6a_run
DEJAGNU_GLOBALS_BASE64 = B64_ENCODE=${BASE64_ENCODE} B64_DECODE=${BASE64_DECODE}
RUNTESTDEFAULTFLAGS = --srcdir=${TEST_DIR} --tool default ${DEJAGNU_GLOBALS_BIN} ${DEJAGNU_GLOBALS_BASE64}
TEST_DIR = ${srcdir}/../tests
DEJAGNU_GLOBALS_BIN = U6A_BIN=${srcdir}/u6a U6AC_BIN=${srcdir}/u6ac U6A_RUN=${TEST_DIR}/u6a_run
DEJAGNU_GLOBALS_BASE64 = B64_ENCODE=${BASE64_ENCODE} B64_DECODE=${BASE64_DECODE}
RUNTESTDEFAULTFLAGS = --srcdir=${TEST_DIR} --tool default ${DEJAGNU_GLOBALS_BIN} ${DEJAGNU_GLOBALS_BASE64}
EXTRA_DEJAGNU_SITE_CONFIG = ../tests/init.exp

2
src/logging.c

@ -52,7 +52,7 @@ u6a_err_unexpected_eof(const char* stage, int after) {
U6A_COLD void
u6a_err_unprintable_ch(const char* stage, int got) {
fprintf(stderr, "%s[%s]: printable character or '\\n' expected, 0x%02x given.\n", prog_name, stage, got);
fprintf(stderr, "%s: [%s] printable character or '\\n' expected, 0x%02x given.\n", prog_name, stage, got);
}
U6A_COLD void

Loading…
Cancel
Save