Skip to main content
Sign in
Snippets Groups Projects
Commit e66cf283 authored by TAOUREL Nathan's avatar TAOUREL Nathan
Browse files

Probleme -1 resolut!

parent e503b727
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,12 @@
</component>
<component name="ChangeListManager">
<list default="true" id="8237d158-eb93-4728-8aed-8c10d18a4380" name="Changes" comment="Probleme -1 resolut!">
<change afterPath="$PROJECT_DIR$/src/myappTest.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Lexical.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Lexical.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Main.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Main.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Syntaxique.class" beforeDir="false" afterPath="$PROJECT_DIR$/out/production/Compilateur_TAOUREL_UNCHESEL/Syntaxique.class" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Lexical.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Lexical.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Main.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Main.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Syntaxique.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Syntaxique.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/myappTest.txt" beforeDir="false" afterPath="$PROJECT_DIR$/src/myappTest.txt" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
......@@ -122,7 +121,7 @@
<workItem from="1741634077446" duration="8077000" />
<workItem from="1741795816053" duration="7313000" />
<workItem from="1742295808445" duration="14157000" />
<workItem from="1743929907369" duration="87768000" />
<workItem from="1743929907369" duration="88418000" />
</task>
<task id="LOCAL-00001" summary="adding first commit and files">
<option name="closed" value="true" />
......@@ -260,7 +259,15 @@
<option name="project" value="LOCAL" />
<updated>1744406502299</updated>
</task>
<option name="localTasksCounter" value="18" />
<task id="LOCAL-00018" summary="Probleme -1 resolut!">
<option name="closed" value="true" />
<created>1744727708341</created>
<option name="number" value="00018" />
<option name="presentableId" value="LOCAL-00018" />
<option name="project" value="LOCAL" />
<updated>1744727708341</updated>
</task>
<option name="localTasksCounter" value="19" />
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
......
......
No preview for this file type
No preview for this file type
......@@ -94,9 +94,19 @@ public class Lexical {
}
private void lireCommentaire() {
while (CARLU != '}' && CARLU != '\0') {
lireCar();
if (CARLU == '{') {
while (CARLU != '}' && CARLU != '\0') {
lireCar();
}
if (CARLU == '}') {
lireCar();
} else {
ERREUR(1);
}}
}
if (CARLU == '}') {
lireCar();
} else {
......
......
......@@ -480,6 +480,7 @@ public class Syntaxique {
avancer();
return true;
}
/*
if (UNILEX.getType_unilex() == T_Unilex.ident && table.getTable().get(UNILEX.getVal()) instanceof Constante) {
P_CODE.add(11);
//System.out.println("terme"+table.getTable().get(UNILEX.getVal()).toString());
......@@ -488,6 +489,7 @@ public class Syntaxique {
avancer();
return true;
}
*/
if (UNILEX.getType_unilex() == T_Unilex.parouv) {
avancer();
if (expression()) {
......
......
PROGRAMME myapp; {this{nest}}
PROGRAMME myapp; {this{nest}j}
CONST x := 'CH',
y:=2;
VAR c:=0,
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment