Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mmix
util
Commits
f997e28f
Commit
f997e28f
authored
Sep 12, 2015
by
Martin Ruckert
Browse files
adapting the config files to the changes in MMIX_LOAD_FILE_LOC
parent
d85723aa
Changes
7
Hide whitespace changes
Inline
Side-by-side
mmixlib/libconfig.cpu
View file @
f997e28f
...
...
@@ -96,7 +96,8 @@
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files */
#define MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#undef MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
#endif
mmixlib/libconfig.gdb
View file @
f997e28f
...
...
@@ -96,7 +96,8 @@
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files */
#define MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#undef MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
#endif
mmixlib/libconfig.ide
View file @
f997e28f
...
...
@@ -110,7 +110,8 @@ extern int mmix_fputc(int c, FILE *f);
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc) add_line_loc(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files */
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#define MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc) add_line_loc(file_no,line_no,cur_loc)
#endif
mmixlib/libconfig.plain
View file @
f997e28f
...
...
@@ -86,6 +86,7 @@ extern int mmix_fputc(int c, FILE *f);
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files */
#define MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#undef MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc)
#endif
\ No newline at end of file
mmixlib/libconfig.vd
View file @
f997e28f
...
...
@@ -94,7 +94,8 @@ extern int mmix_fputc(int c, FILE *f);
/* define this to record file line and location associations while assembling */
#define MMIXAL_LINE_LOC(file_no,line_no,cur_loc) add_line_loc(file_no,line_no,cur_loc)
/* define this to record file line and location associations while loading mmo files */
/* define this to record file line and location associations while loading mmo files
undefine to get the default behaviour of storing file_no and line_no in the mem_tetra */
#define MMIX_LOAD_LINE_LOC(file_no,line_no,cur_loc) add_line_loc(file_no,line_no,cur_loc)
#endif
...
...
mmixlib/mmixallib.ch
View file @
f997e28f
...
...
@@ -223,7 +223,9 @@ the association of lines and locations.
@x
for (j=0;j<k;j++) {
@y
#ifdef MMIXAL_LINE_LOC
MMIXAL_LINE_LOC(cur_file, line_no, cur_loc);
#endif
for (j=0;j<k;j++) {
@z
...
...
mmixlib/mmixlib.ch
View file @
f997e28f
...
...
@@ -272,10 +272,13 @@ we reset the frequency and possibly record file, line, and loc.
ll->line_no=cur_line;
cur_line++;
@y
#ifdef MMIX_LOAD_LINE_LOC
MMIX_LOAD_LINE_LOC(cur_file,cur_line,cur_loc);
#else
ll->file_no=cur_file;
ll->line_no=cur_line;
#endif
ll->freq=0;
MMIX_LOAD_LINE_LOC(cur_file,cur_line,cur_loc);
cur_line++;
@z
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment