Merge: doc: fixed some typos and other misc. corrections
[nit.git] / src / frontend / frontend.nit
index 9d39890..d18285c 100644 (file)
@@ -13,6 +13,8 @@
 # limitations under the License.
 
 # Collect and orchestration of main frontend phases
+#
+# Import `frontend::code_gen` to also include code generation modules.
 module frontend
 
 import no_warning
@@ -21,10 +23,15 @@ import literal
 import modelize
 import semantize
 import div_by_zero
-import serialization_phase
+import serialization_model_phase
 import deriving
 import check_annotation
+import parse_annotations
 import glsl_validation
+import parallelization_phase
+import i18n_phase
+import regex_phase
+import actors_injection_phase
 
 redef class ToolContext
        # FIXME: there is conflict in linex in nitc, so use this trick to force invocation
@@ -42,6 +49,7 @@ redef class ToolContext
                # Code genrated by the serialization phase must be analyzed for literals
                phases.add_edge(literal_phase, serialization_phase_pre_model)
                phases.add_edge(modelize_class_phase, serialization_phase_pre_model)
+               phases.add_edge(modelize_class_phase, parallelization_phase)
                return true
        end
 end