--- parser3/src/include/pa_operation.h 2003/11/20 15:35:30 1.3 +++ parser3/src/include/pa_operation.h 2008/08/15 15:25:03 1.7 @@ -1,7 +1,7 @@ /** @file Parser: compiled code related decls. - Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -9,7 +9,7 @@ #ifndef OPERATION_H #define OPERATION_H -static const char* IDENT_OPERATION_H="$Date: 2003/11/20 15:35:30 $"; +static const char * const IDENT_OPERATION_H="$Date: 2008/08/15 15:25:03 $"; #include "pa_array.h" #include "pa_opcode.h" @@ -44,14 +44,14 @@ union Operation { } }; - OPCODE code; ///< operation code + OP::OPCODE code; ///< operation code Origin origin; ///< not an operation, but rather debug information: [OP_VALUE; debug_info; Value*] Value* value; ///< not an operation, but rather value stored after argumented op ArrayOperation* ops; ///< not an operation, but rather code array stored after argumented op /// needed to fill unused Array entries Operation() {} - Operation(OPCODE acode): code(acode) {} + Operation(OP::OPCODE acode): code(acode) {} Operation(uint afile_no, uint aline, uint acol): origin(Origin::create(afile_no, aline, acol)) {} Operation(Value* avalue): value(avalue) {}