Translate all printed messages in english.
[TP_AL_C.git] / lexer / main.c
index c5a04576a1c9de4f9f505601af492d6a58054af9..d3f086ec00fa41b4d6c096273c2e7efe0b764fcb 100644 (file)
@@ -101,7 +101,7 @@ int main(int argc, char **argv) {
         // Ouvre le fichier source en lecture seulement (le fichier doit exister) :
         source = fopen(in_file, "r+");
         if (source == NULL) {
-            pr_error("Impossible d'ouvrir le fichier %s\n", in_file);
+            pr_error("Fail to open file %s\n", in_file);
             return EXIT_FAILURE;
         }
     } else {
@@ -113,7 +113,7 @@ int main(int argc, char **argv) {
         // avec suppression du contenu au prealable :
         target = fopen(out_file, "w+");
         if (target == NULL) {
-            pr_error("Impossible d'ouvrir le fichier %s\n", out_file);
+            pr_error("Fail to open file %s\n", out_file);
             return EXIT_FAILURE;
         }
     } else {