Browse Source

* Enable multiline strings by default for objfpc/delphi

Michaël Van Canneyt 11 hours ago
parent
commit
a86f4728a9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/globals.pas

+ 2 - 2
compiler/globals.pas

@@ -56,7 +56,7 @@ interface
           m_out,m_default_para,m_duplicate_names,m_hintdirective,
           m_property,m_default_inline,m_except,m_advanced_records,
           m_array_operators,m_prefixed_attributes,m_underscoreisseparator,
-          m_function_references,m_anonymous_functions];
+          m_function_references,m_anonymous_functions,m_multiline_strings];
        delphiunicodemodeswitches = delphimodeswitches + [m_systemcodepage,m_default_unicodestring];
        fpcmodeswitches =
          [m_fpc,m_string_pchar,m_nested_comment,m_repeat_forward,
@@ -65,7 +65,7 @@ interface
        objfpcmodeswitches =
          [m_objfpc,m_fpc,m_class,m_objpas,m_result,m_string_pchar,m_nested_comment,
           m_repeat_forward,m_cvar_support,m_initfinal,m_out,m_default_para,m_hintdirective,
-          m_property,m_default_inline,m_except];
+          m_property,m_default_inline,m_except,m_multiline_strings];
        tpmodeswitches =
          [m_tp7,m_tp_procvar,m_duplicate_names];
 {$ifdef gpc_mode}