You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
430 B
C++
23 lines
430 B
C++
15 years ago
|
#ifndef COMPILER_GENERATOR_H_INCLUDED
|
||
|
#define COMPILER_GENERATOR_H_INCLUDED
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include <components/interpreter/types.hpp>
|
||
|
|
||
|
namespace Compiler
|
||
|
{
|
||
|
class Literals;
|
||
|
|
||
|
namespace Generator
|
||
|
{
|
||
|
typedef std::vector<Interpreter::Type_Code> CodeContainer;
|
||
|
|
||
|
void assignIntToLocal (CodeContainer& code, Literals& literals, char localType,
|
||
|
int localIndex, int value);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|