author | Mario de Sousa <msousa@fe.up.pt> |
Fri, 20 Jul 2012 15:50:49 +0100 | |
changeset 612 | c062ff18d04f |
parent 596 | 4efb11e44065 |
permissions | -rw-r--r-- |
181 | 1 |
/* |
265
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
2 |
* matiec - a compiler for the programming languages defined in IEC 61131-3 |
181 | 3 |
* |
265
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
4 |
* Copyright (C) 2003-2011 Mario de Sousa (msousa@fe.up.pt) |
279
c0453b7f99df
Re-generated std lib related code, with updated headers, updated all forgotten headers
Edouard Tisserant
parents:
265
diff
changeset
|
5 |
* Copyright (C) 2007-2011 Laurent Bessard and Edouard Tisserant |
181 | 6 |
* |
265
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
7 |
* This program is free software: you can redistribute it and/or modify |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
8 |
* it under the terms of the GNU General Public License as published by |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
9 |
* the Free Software Foundation, either version 3 of the License, or |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
10 |
* (at your option) any later version. |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
11 |
* |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
12 |
* This program is distributed in the hope that it will be useful, |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
13 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
14 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
15 |
* GNU General Public License for more details. |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
16 |
* |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
17 |
* You should have received a copy of the GNU General Public License |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
18 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
19 |
* |
181 | 20 |
* |
21 |
* This code is made available on the understanding that it will not be |
|
22 |
* used in safety-critical situations without a full and competent review. |
|
23 |
*/ |
|
24 |
||
25 |
/* |
|
265
4d222f46f8cc
Updating license info (with Edouard's permission for relevant files).
Mario de Sousa <msousa@fe.up.pt>
parents:
257
diff
changeset
|
26 |
* An IEC 61131-3 compiler. |
181 | 27 |
* |
28 |
* Based on the |
|
29 |
* FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10) |
|
30 |
* |
|
31 |
*/ |
|
32 |
||
33 |
/* Determine the data type of a specific constant or variable. |
|
34 |
* A reference to the relevant type definition is returned. |
|
35 |
* |
|
36 |
* For example: |
|
37 |
* 22 -> returns reference to a int_type_name_c object. |
|
38 |
* 22.2 -> returns reference to a real_type_name_c object. |
|
39 |
* LREAL#22.2 -> returns reference to a lreal_type_name_c object. |
|
40 |
* etc... |
|
41 |
*/ |
|
42 |
||
43 |
||
328
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
44 |
#include "../util/symtable.hh" |
181 | 45 |
#include "search_constant_type.hh" |
339
06b561479e46
Replacing extern declaration with #include of apropriate header file
Mario de Sousa <msousa@fe.up.pt>
parents:
328
diff
changeset
|
46 |
#include "absyntax_utils.hh" |
596
4efb11e44065
Add ERROR_MSG macro && move extract_XXX() functions to constant_folding.cc
Mario de Sousa <msousa@fe.up.pt>
parents:
547
diff
changeset
|
47 |
#include "../main.hh" // required for ERROR() and ERROR_MSG() macros. |
181 | 48 |
|
328
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
49 |
|
181 | 50 |
|
51 |
symbol_c *search_constant_type_c::get_type(symbol_c *constant) { |
|
52 |
return (symbol_c *)constant->accept(*this); |
|
53 |
} |
|
54 |
||
55 |
||
56 |
/*********************/ |
|
57 |
/* B 1.2 - Constants */ |
|
58 |
/*********************/ |
|
59 |
||
60 |
/******************************/ |
|
61 |
/* B 1.2.1 - Numeric Literals */ |
|
62 |
/******************************/ |
|
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
63 |
/* Numeric literals without any explicit type cast have unknown data type, |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
64 |
* so we continue considering them as their own basic data types until |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
65 |
* they can be resolved (for example, when using '30+x' where 'x' is a LINT variable, the |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
66 |
* numeric literal '30' must then be considered a LINT so the ADD function may be called |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
67 |
* with all inputs of the same data type. |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
68 |
* If 'x' were a SINT, then the '30' would have to be a SINT too! |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
69 |
*/ |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
70 |
void *search_constant_type_c::visit(real_c *symbol) {return (void *)symbol;} |
257 | 71 |
void *search_constant_type_c::visit(neg_real_c *symbol) {return (void *)symbol;} |
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
72 |
void *search_constant_type_c::visit(integer_c *symbol) {return (void *)symbol;} |
257 | 73 |
void *search_constant_type_c::visit(neg_integer_c *symbol) {return (void *)symbol;} |
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
74 |
void *search_constant_type_c::visit(binary_integer_c *symbol) {return (void *)symbol;} |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
75 |
void *search_constant_type_c::visit(octal_integer_c *symbol) {return (void *)symbol;} |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
76 |
void *search_constant_type_c::visit(hex_integer_c *symbol) {return (void *)symbol;} |
181 | 77 |
|
78 |
void *search_constant_type_c::visit(integer_literal_c *symbol) |
|
79 |
{return (void *)((symbol->type!=NULL)?symbol->type:symbol->value->accept(*this));} |
|
80 |
void *search_constant_type_c::visit(real_literal_c *symbol) |
|
81 |
{return (void *)((symbol->type!=NULL)?symbol->type:symbol->value->accept(*this));} |
|
82 |
void *search_constant_type_c::visit(bit_string_literal_c *symbol) |
|
83 |
{return (void *)((symbol->type!=NULL)?symbol->type:symbol->value->accept(*this));} |
|
84 |
void *search_constant_type_c::visit(boolean_literal_c *symbol) |
|
85 |
{return (void *)((symbol->type!=NULL)?symbol->type:symbol->value->accept(*this));} |
|
86 |
||
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
87 |
void *search_constant_type_c::visit(boolean_true_c *symbol) {return (void *)symbol;} |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
88 |
void *search_constant_type_c::visit(boolean_false_c *symbol) {return (void *)symbol;} |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
89 |
|
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
90 |
|
181 | 91 |
/*******************************/ |
92 |
/* B.1.2.2 Character Strings */ |
|
93 |
/*******************************/ |
|
94 |
void *search_constant_type_c::visit(double_byte_character_string_c *symbol) {return (void *)&wstring_type_name;} |
|
95 |
void *search_constant_type_c::visit(single_byte_character_string_c *symbol) {return (void *)&string_type_name;} |
|
96 |
||
97 |
/***************************/ |
|
98 |
/* B 1.2.3 - Time Literals */ |
|
99 |
/***************************/ |
|
100 |
/************************/ |
|
101 |
/* B 1.2.3.1 - Duration */ |
|
102 |
/************************/ |
|
103 |
void *search_constant_type_c::visit(neg_time_c *symbol) {ERROR; return NULL;} /* this member function should never be called. */ |
|
257 | 104 |
void *search_constant_type_c::visit(duration_c *symbol) {return (void *)(symbol->type_name);} |
181 | 105 |
void *search_constant_type_c::visit(fixed_point_c *symbol) {ERROR; return NULL;} /* this member function should never be called. */ |
547
dab341e80664
Fix parsing os TIME literals & rename the extract_integer() function.
mjsousa <msousa@fe.up.pt>
parents:
495
diff
changeset
|
106 |
void *search_constant_type_c::visit(interval_c *symbol) {ERROR; return NULL;} /* this member function should never be called. */ |
181 | 107 |
|
108 |
/************************************/ |
|
109 |
/* B 1.2.3.2 - Time of day and Date */ |
|
110 |
/************************************/ |
|
257 | 111 |
void *search_constant_type_c::visit(time_of_day_c *symbol) {return (void *)(symbol->type_name);} |
181 | 112 |
void *search_constant_type_c::visit(daytime_c *symbol) {ERROR; return NULL;} /* this member function should never be called. */ |
257 | 113 |
void *search_constant_type_c::visit(date_c *symbol) {return (void *)(symbol->type_name);} |
181 | 114 |
void *search_constant_type_c::visit(date_literal_c *symbol) {ERROR; return NULL;} /* this member function should never be called. */ |
257 | 115 |
void *search_constant_type_c::visit(date_and_time_c *symbol) {return (void *)(symbol->type_name);} |
116 |
||
328
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
117 |
/********************************/ |
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
118 |
/* B 1.3.3 - Derived data types */ |
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
119 |
/********************************/ |
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
120 |
void *search_constant_type_c::visit(enumerated_value_c *symbol) { |
386
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
121 |
if (symbol->type != NULL) |
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
122 |
return (void *)(symbol->type); |
328
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
123 |
|
386
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
124 |
symbol_c *value_type = enumerated_value_symtable.find_value(symbol->value); |
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
125 |
if (value_type == enumerated_value_symtable.end_value()) |
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
126 |
return NULL; |
606443ffd589
Fix semantic verification of enumerated data types.
Mario de Sousa <msousa@fe.up.pt>
parents:
339
diff
changeset
|
127 |
return (void *)value_type; |
328
66cd5d9893dd
Add support for finding type of a constant enumerated value and managing conflict between same identifiers defined in different enumerated data types
laurent
parents:
279
diff
changeset
|
128 |
} |
181 | 129 |
|
459
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
130 |
|
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
131 |
|
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
132 |
|
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
133 |
invalid_type_name_c search_constant_type_c::invalid_type_name; |
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
134 |
|
01f6664bf8c5
Continue adding support for semantic verification of JMP and RET.
Mario de Sousa <msousa@fe.up.pt>
parents:
417
diff
changeset
|
135 |
|
181 | 136 |
real_type_name_c search_constant_type_c::real_type_name; |
137 |
sint_type_name_c search_constant_type_c::sint_type_name; |
|
138 |
lint_type_name_c search_constant_type_c::lint_type_name; |
|
139 |
dint_type_name_c search_constant_type_c::dint_type_name; |
|
140 |
date_type_name_c search_constant_type_c::date_type_name; |
|
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
141 |
dword_type_name_c search_constant_type_c::dword_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
142 |
dt_type_name_c search_constant_type_c::dt_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
143 |
tod_type_name_c search_constant_type_c::tod_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
144 |
udint_type_name_c search_constant_type_c::udint_type_name; |
181 | 145 |
word_type_name_c search_constant_type_c::word_type_name; |
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
146 |
wstring_type_name_c search_constant_type_c::wstring_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
147 |
string_type_name_c search_constant_type_c::string_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
148 |
lword_type_name_c search_constant_type_c::lword_type_name; |
181 | 149 |
uint_type_name_c search_constant_type_c::uint_type_name; |
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
150 |
lreal_type_name_c search_constant_type_c::lreal_type_name; |
181 | 151 |
byte_type_name_c search_constant_type_c::byte_type_name; |
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
152 |
usint_type_name_c search_constant_type_c::usint_type_name; |
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
153 |
ulint_type_name_c search_constant_type_c::ulint_type_name; |
181 | 154 |
bool_type_name_c search_constant_type_c::bool_type_name; |
155 |
time_type_name_c search_constant_type_c::time_type_name; |
|
202
da1a8186f86f
Initial (very rough) version of semantic checker (stage3)
Catarina Boucinha <ccb@fe.up.pt>
parents:
194
diff
changeset
|
156 |
int_type_name_c search_constant_type_c::int_type_name; |
181 | 157 |
|
257 | 158 |
safetime_type_name_c search_constant_type_c::safetime_type_name; |
159 |
safetod_type_name_c search_constant_type_c::safetod_type_name; |
|
160 |
safedt_type_name_c search_constant_type_c::safedt_type_name; |
|
417
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
161 |
safedate_type_name_c search_constant_type_c::safedate_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
162 |
safereal_type_name_c search_constant_type_c::safereal_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
163 |
safesint_type_name_c search_constant_type_c::safesint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
164 |
safelint_type_name_c search_constant_type_c::safelint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
165 |
safedint_type_name_c search_constant_type_c::safedint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
166 |
safedword_type_name_c search_constant_type_c::safedword_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
167 |
safeudint_type_name_c search_constant_type_c::safeudint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
168 |
safeword_type_name_c search_constant_type_c::safeword_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
169 |
safewstring_type_name_c search_constant_type_c::safewstring_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
170 |
safestring_type_name_c search_constant_type_c::safestring_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
171 |
safelword_type_name_c search_constant_type_c::safelword_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
172 |
safeuint_type_name_c search_constant_type_c::safeuint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
173 |
safelreal_type_name_c search_constant_type_c::safelreal_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
174 |
safebyte_type_name_c search_constant_type_c::safebyte_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
175 |
safeusint_type_name_c search_constant_type_c::safeusint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
176 |
safeulint_type_name_c search_constant_type_c::safeulint_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
177 |
safebool_type_name_c search_constant_type_c::safebool_type_name; |
d48f53715f77
Re-write of stage3 code (done by Manuele and I), re-write of search_varfb_instance_type_c (done by myself), and several other bug fixes.
Mario de Sousa <msousa@fe.up.pt>
parents:
386
diff
changeset
|
178 |
safeint_type_name_c search_constant_type_c::safeint_type_name; |
257 | 179 |
|
180 |