Fix on preprocessor directives error and control characters