Compare commits

..

No commits in common. "3a897af896eed6e9f856c6690e80a93e1ad6e112" and "f1214cfd12d6735ba751f6f23dd61c79b92efe35" have entirely different histories.

2 changed files with 6 additions and 3 deletions

View file

@ -21,7 +21,7 @@
#include <stdlib.h>
#include "../Tables/Instructions/tab_instruc.h"
#define TAILLE 1024
#define SECURED (1)
#define SECURISED (1)
struct type_t type_courant;
struct type_t return_type_fonc;
@ -298,13 +298,13 @@ Instruction : Print tPV;
/*************************************/
/*************************************/
Invocation : tID tOBRACE {if (!SECURED) {
Invocation : tID tOBRACE {if (!SECURISED) {
push("0_TEMPORARY_CTX", 0, integer); // On reserve la place du contexte
push("0_TEMPORARY_ADDR_RT", 0, pointer); // On reserve la place de l'adresse de retour
}
}
Params tCBRACE {struct fonction_t fonc = get_fonction($1); // On récupère la fonction
if (!SECURED) {
if (!SECURISED) {
multiple_pop($4 + 2); // On pop les paramètres de la table des symboles
} else {
multiple_pop($4); // On pop les paramètres de la table des symboles

3
README.md Normal file
View file

@ -0,0 +1,3 @@
# Projet Système Informatique - Elies TALI et Paul FAURE
Plop