Corrected conditional printing of dynamic lexicalisation config option.
authorYeGoblynQueenne@splinter <ep50@uni.brighton.ac.uk>
Mon, 29 Aug 2016 18:01:54 +0000 (21:01 +0300)
committerYeGoblynQueenne@splinter <ep50@uni.brighton.ac.uk>
Mon, 29 Aug 2016 18:01:54 +0000 (21:01 +0300)
lib/project_utilities.pl

index 680873c..13db5c4 100644 (file)
@@ -762,7 +762,7 @@ dynamic_configuration(Stream):-
                  )
                 % Only show lexicalisation strategy when it's 'true'.
                 ,(   O == lexicalisation_strategy
-                 ->  Vs = [true]
+                 ->  Vs \= [none]
                  ;   true
                  )
                 ,length(Vs, A)
@@ -772,7 +772,7 @@ dynamic_configuration(Stream):-
                ,Os_)
        ,print_configuration_options(Stream,Os_)
        ,output_file_name(grammar, OF)
-       ,format('Grammar output file:~n ~w~n',[OF]).
+       ,format(Stream,'% Grammar output file:~n% ~w~n~n',[OF]).
 
 
 
@@ -837,8 +837,7 @@ print_configuration_options(Stream,Options):-
               ,print_list(Stream,Values, ' - ')
               ,nl(Stream)
               )
-             )
-       ,nl(Stream).
+             ).