From 29a9fdde78945772ba85b65acc433232551c59ac Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Wed, 9 May 2012 00:43:42 +0400 Subject: [PATCH] Moved *.jet.src to separate directory and renamed to them to *.jet. Thus, they will be correctly loadable via PSI. --- .../frontend/generator/TuplesAndFunctionsGenerator.java | 8 ++++---- compiler/frontend/src/{jet/Any.jet.src => std/Any.jet} | 0 .../ExtensionFunctions.jet} | 0 .../src/{jet/Functions.jet.src => std/Functions.jet} | 0 .../frontend/src/{jet/Nothing.jet.src => std/Nothing.jet} | 0 .../frontend/src/{jet/Tuples.jet.src => std/Tuples.jet} | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename compiler/frontend/src/{jet/Any.jet.src => std/Any.jet} (100%) rename compiler/frontend/src/{jet/ExtensionFunctions.jet.src => std/ExtensionFunctions.jet} (100%) rename compiler/frontend/src/{jet/Functions.jet.src => std/Functions.jet} (100%) rename compiler/frontend/src/{jet/Nothing.jet.src => std/Nothing.jet} (100%) rename compiler/frontend/src/{jet/Tuples.jet.src => std/Tuples.jet} (100%) diff --git a/compiler/frontend/generator/TuplesAndFunctionsGenerator.java b/compiler/frontend/generator/TuplesAndFunctionsGenerator.java index 51006fccf44..1c58cbd9c44 100644 --- a/compiler/frontend/generator/TuplesAndFunctionsGenerator.java +++ b/compiler/frontend/generator/TuplesAndFunctionsGenerator.java @@ -87,18 +87,18 @@ public class TuplesAndFunctionsGenerator { } public static void main(String[] args) throws FileNotFoundException { - File baseDir = new File("compiler/frontend/src/jet/"); + File baseDir = new File("compiler/frontend/src/std/"); assert baseDir.exists() : "Base dir does not exist: " + baseDir.getAbsolutePath(); - PrintStream tuples = new PrintStream(new File(baseDir, "Tuples.jet.src")); + PrintStream tuples = new PrintStream(new File(baseDir, "Tuples.jet")); generateTuples(tuples, TUPLE_COUNT); tuples.close(); - PrintStream functions = new PrintStream(new File(baseDir, "Functions.jet.src")); + PrintStream functions = new PrintStream(new File(baseDir, "Functions.jet")); generateFunctions(functions, TUPLE_COUNT, false); functions.close(); - PrintStream extensionFunctions = new PrintStream(new File(baseDir, "ExtensionFunctions.jet.src")); + PrintStream extensionFunctions = new PrintStream(new File(baseDir, "ExtensionFunctions.jet")); generateFunctions(extensionFunctions, TUPLE_COUNT, true); extensionFunctions.close(); } diff --git a/compiler/frontend/src/jet/Any.jet.src b/compiler/frontend/src/std/Any.jet similarity index 100% rename from compiler/frontend/src/jet/Any.jet.src rename to compiler/frontend/src/std/Any.jet diff --git a/compiler/frontend/src/jet/ExtensionFunctions.jet.src b/compiler/frontend/src/std/ExtensionFunctions.jet similarity index 100% rename from compiler/frontend/src/jet/ExtensionFunctions.jet.src rename to compiler/frontend/src/std/ExtensionFunctions.jet diff --git a/compiler/frontend/src/jet/Functions.jet.src b/compiler/frontend/src/std/Functions.jet similarity index 100% rename from compiler/frontend/src/jet/Functions.jet.src rename to compiler/frontend/src/std/Functions.jet diff --git a/compiler/frontend/src/jet/Nothing.jet.src b/compiler/frontend/src/std/Nothing.jet similarity index 100% rename from compiler/frontend/src/jet/Nothing.jet.src rename to compiler/frontend/src/std/Nothing.jet diff --git a/compiler/frontend/src/jet/Tuples.jet.src b/compiler/frontend/src/std/Tuples.jet similarity index 100% rename from compiler/frontend/src/jet/Tuples.jet.src rename to compiler/frontend/src/std/Tuples.jet