Commit 4b074b4b authored by Martin Ruckert's avatar Martin Ruckert
Browse files

first version of mmixal working with mmixide

parent 9863bc8c
......@@ -104,7 +104,7 @@ void report_error(message)
#include <stdio.h>
#include <setjmp.h>
extern int err_count;
int err_count;
extern FILE *listing_file;
extern void flush_listing_line(char*line);
typedef enum{false,true}bool;
......
/* auxiliar functions provided by the library but without a prototype here*/
#if 0
extern void free_tree(trie_node *root);
......@@ -101,9 +102,8 @@ extern int mmixal(char *mms_name, char *mmo_name, char *mml_name, int x_option,
otherwise the number of errors found in the input
*/
extern void mmixal_error(char *message, int file_no, int line_no, int status);
extern void report_error(char *message, char *filename, int line_no);
/* report an error in the given file and line.
status is 1 for warnings, 0 for errors, -1 for fatal errors.
*/
extern void add_line_loc(int file_no, int line_no, octa loc);
......@@ -119,3 +119,6 @@ extern FILE *src_file, *obj_file, *listing_file;
extern int expanding; /* are we expanding instructions when base address fail? */
extern int buf_size; /* maximum number of characters per line of input */
extern int mmixal(char *mms_name, char *mmo_name, char *mml_name, int x_option, int b_option);
extern int err_count; /* the error count */
extern bool line_listed;
extern void flush_listing_line(char*line);
\ No newline at end of file
......@@ -700,6 +700,10 @@
RelativePath=".\libimport.h"
>
</File>
<File
RelativePath=".\mmixlib.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
......@@ -719,7 +723,7 @@
<Tool
Name="VCCustomBuildTool"
Description="ctangle mmix-arith"
CommandLine="ctangle mmixware\mmix-arith.w"
CommandLine="ctangle mmixware\mmix-arith.w&#x0D;&#x0A;"
Outputs="mmix-arith.c"
/>
</FileConfiguration>
......@@ -729,7 +733,7 @@
<Tool
Name="VCCustomBuildTool"
Description="ctangle mmix-arith"
CommandLine="ctangle mmixware\mmix-arith.w"
CommandLine="ctangle mmixware\mmix-arith.w&#x0D;&#x0A;"
Outputs="mmix-arith.c"
/>
</FileConfiguration>
......@@ -743,7 +747,7 @@
<Tool
Name="VCCustomBuildTool"
Description="ctangle mmix-io"
CommandLine="ctangle mmixware/mmix-io.w"
CommandLine="ctangle mmixware/mmix-io.w&#x0D;&#x0A;"
Outputs="mmix-io.c"
/>
</FileConfiguration>
......@@ -753,7 +757,7 @@
<Tool
Name="VCCustomBuildTool"
Description="ctangle mmix-io"
CommandLine="ctangle mmixware/mmix-io.w"
CommandLine="ctangle mmixware/mmix-io.w&#x0D;&#x0A;"
Outputs="mmix-io.c"
/>
</FileConfiguration>
......@@ -810,6 +814,10 @@
/>
</FileConfiguration>
</File>
<File
RelativePath=".\mmixallib.ch"
>
</File>
</Filter>
</Files>
<Globals>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment