diff options
Diffstat (limited to 'libcpp/expr.cc')
-rw-r--r-- | libcpp/expr.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/expr.cc b/libcpp/expr.cc index 2a57dc79d..53980f4 100644 --- a/libcpp/expr.cc +++ b/libcpp/expr.cc @@ -860,7 +860,7 @@ cpp_classify_number (cpp_reader *pfile, const cpp_token *token, if ((result & CPP_N_WIDTH) == CPP_N_LARGE && CPP_OPTION (pfile, cpp_warn_long_long)) { - const char *message = CPP_OPTION (pfile, cplusplus) + const char *message = CPP_OPTION (pfile, cplusplus) ? N_("use of C++11 long long integer constant") : N_("use of C99 long long integer constant"); @@ -1723,7 +1723,7 @@ reduce (cpp_reader *pfile, struct op *top, enum cpp_ttype op) case CPP_OPEN_PAREN: if (op != CPP_CLOSE_PAREN) { - cpp_error_with_line (pfile, CPP_DL_ERROR, + cpp_error_with_line (pfile, CPP_DL_ERROR, top->token->src_loc, 0, "missing %<)%> in expression"); return 0; |