From 36a71cbc4db0745cd7c6740a7802fb6b8b7b42c0 Mon Sep 17 00:00:00 2001 From: Jim Holmes Date: Sun, 26 Oct 2014 18:56:05 +0200 Subject: [PATCH] fixme, incomplete patch --- src/frontend/miscvars.c | 2 ++ src/frontend/outitf.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/frontend/miscvars.c b/src/frontend/miscvars.c index 9c4287f3d..af5376279 100644 --- a/src/frontend/miscvars.c +++ b/src/frontend/miscvars.c @@ -116,6 +116,8 @@ char *ft_setkwords[] = { "subend", "subinvoke", "substart", + "lxt2waves" /* holmes: adding switch to write lxt2 waveform database */ + "swapendian" /* holmes: adding switch to write raw file in opposite endianness of OS */ "term", "ticmarks", "tnom", diff --git a/src/frontend/outitf.h b/src/frontend/outitf.h index c3446b4e3..31e55ffc8 100644 --- a/src/frontend/outitf.h +++ b/src/frontend/outitf.h @@ -36,6 +36,7 @@ struct runDesc { bool writeOut; bool windowed; bool binary; + bool swapendian; struct plot *runPlot; FILE *fp; long pointPos; /* where to write pointCount */