Changeset 1224 for src/Clight/Csyntax.ma


Ignore:
Timestamp:
Sep 16, 2011, 6:39:05 PM (8 years ago)
Author:
sacerdot
Message:

Type of programs in common/AST made more dependent.
In particular, the type of internal functions is now dependent on the
list of global variables. This is already used in the back-end to rule
out from the syntax programs that have free variables.

Note: only the test Clight/test/search.c.ma has been ported to the new type.
The porting requires two very minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Clight/Csyntax.ma

    r1139 r1224  
    318318  data.  See module [AST] for more details. *)
    319319
    320 definition clight_program : Type[0] ≝ program clight_fundef (list init_data × type).
     320definition clight_program : Type[0] ≝ program (λ_.clight_fundef) (list init_data × type).
    321321
    322322(* * * Operations over types *)
Note: See TracChangeset for help on using the changeset viewer.