root/trunk/AISC/aisc_proto.h

Revision 7413, 0.6 KB (checked in by westram, 14 months ago)

merged from dev [7355] [7369] [7370]

  • Refactored AISC (interpreter)
    • separated 'struct global' into several classes (mostly 'Interpreter').
    • precompile all commands and use a dispatcher
  • changes to behavior
    • new command WARNING
    • detects deadlocks
    • error if referencing data w/o loading it
    • error when files are not closed
    • tweaked/added several errors reported
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/* This file is generated by aisc_mkpt.
2 * Any changes you make here will be overwritten later!
3 */
4
5#ifndef AISC_PROTO_H
6#define AISC_PROTO_H
7
8/* define ARB attributes: */
9#ifndef ATTRIBUTES_H
10# include <attributes.h>
11#endif
12
13
14/* aisc.c */
15
16#ifndef AISC_DEF_H
17#include "aisc_def.h"
18#endif
19
20char *read_aisc_file(const char *path, const Location *loc);
21
22/* aisc_commands.c */
23const char *formatted(const char *format, ...) __ATTR__FORMAT(1);
24
25/* aisc_var_ref.c */
26char *get_var_string(const Data &data, char *var, bool allow_missing_var);
27
28#else
29#error aisc_proto.h included twice
30#endif /* AISC_PROTO_H */
Note: See TracBrowser for help on using the browser.