Antlr3.Tool.ErrorManager.Initialize C# (CSharp) Method

Initialize() static private method

static private Initialize ( ) : void
return void
        internal static void Initialize()
        {
            // it is inefficient to set the default locale here if another
            // piece of code is going to set the locale, but that would
            // require that a user call an init() function or something.  I prefer
            // that this class be ready to go when loaded as I'm absentminded ;)
            SetLocale( CultureInfo.CurrentCulture );

            // try to load the message format group
            // the user might have specified one on the command line
            // if not, or if the user has given an illegal value, we will fall back to "antlr"
            SetFormat( "antlr" );
        }