equal
deleted
inserted
replaced
236 |
236 |
237 |
237 |
238 int stage2__(const char *filename, |
238 int stage2__(const char *filename, |
239 const char *includedir, /* Include directory, where included files will be searched for... */ |
239 const char *includedir, /* Include directory, where included files will be searched for... */ |
240 symbol_c **tree_root_ref, |
240 symbol_c **tree_root_ref, |
241 bool full_token_loc /* error messages specify full token location */ |
241 bool full_token_loc, /* error messages specify full token location */ |
|
242 bool ref_to_any /* allow use of non-standard REF_TO ANY datatypes */ |
242 ); |
243 ); |
243 |
244 |
244 |
245 |
245 int stage1_2(const char *filename, symbol_c **tree_root_ref, stage1_2_options_t options) { |
246 int stage1_2(const char *filename, symbol_c **tree_root_ref, stage1_2_options_t options) { |
246 /* NOTE: we only call stage2 (bison - syntax analysis) directly, as stage 2 will itself call stage1 (flex - lexical analysis) |
247 /* NOTE: we only call stage2 (bison - syntax analysis) directly, as stage 2 will itself call stage1 (flex - lexical analysis) |
256 |
257 |
257 nested_comments_ = options.nested_comments; |
258 nested_comments_ = options.nested_comments; |
258 ref_operator_ = options.ref_operator; |
259 ref_operator_ = options.ref_operator; |
259 safe_extensions_ = options.safe_extensions; |
260 safe_extensions_ = options.safe_extensions; |
260 conversion_functions_ = options.conversion_functions; |
261 conversion_functions_ = options.conversion_functions; |
261 return stage2__(filename, options.includedir, tree_root_ref, options.full_token_loc); |
262 return stage2__(filename, options.includedir, tree_root_ref, options.full_token_loc, options.ref_to_any); |
262 } |
263 } |
263 |
264 |