Ignore:
Timestamp:
Jan 19, 2011, 6:23:27 PM (9 years ago)
Author:
campbell
Message:

Port memory spaces changes to latest prototype compiler.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Deliverables/D2.3/8051-memoryspaces-branch/cparser/Builtins.ml

    r453 r460  
    3838         Some (List.map (fun ty -> (Env.fresh_ident "", ty)) args),
    3939         va, []) in
    40   let (id, env') = Env.enter_ident !env s Storage_extern ty in
     40  let (id, env') = Env.enter_ident !env s Storage_extern ty Code in
    4141  env := env';
    4242  idents := id :: !idents;
    43   decls := {gdesc = Gdecl(Storage_extern, id, ty, None); gloc = no_loc} :: !decls
     43  decls := {gdesc = Gdecl(Code, (Storage_extern, id, ty, None)); gloc = no_loc} :: !decls
    4444
    4545type t = {
Note: See TracChangeset for help on using the changeset viewer.