r260421 - in /branches/c++-modules: ChangeLog.m...
nathan@gcc.gnu.org
nathan@gcc.gnu.org
Sun May 20 14:35:00 GMT 2018
Author: nathan
Date: Sun May 20 14:35:16 2018
New Revision: 260421
URL: https://gcc.gnu.org/viewcvs?rev=260421&root=gcc&view=rev
Log:
Diagnose pragmas ending preamble.
libcpp/
* lex.c (cpp_peek_token_with_location): Set peeked_location to
incoming location. Fix pragma unwind.
gcc/cp/
* cxx-module-server.sh: Add new commands.
* lex.c (atom_preamble_prefix_peek): Note trailing pragma.
gcc/
* doc/invoke.text (C++ Modules): More server commands.
gcc/testsuite/
* g++.dg/modules/atom-pragma-[123].C: New.
Added:
branches/c++-modules/gcc/testsuite/g++.dg/modules/atom-pragma-1.C
branches/c++-modules/gcc/testsuite/g++.dg/modules/atom-pragma-2.C
branches/c++-modules/gcc/testsuite/g++.dg/modules/atom-pragma-3.C
Modified:
branches/c++-modules/ChangeLog.modules
branches/c++-modules/gcc/cp/cxx-module-server.sh
branches/c++-modules/gcc/cp/lex.c
branches/c++-modules/gcc/cp/parser.c
branches/c++-modules/gcc/doc/invoke.texi
branches/c++-modules/libcpp/lex.c
More information about the Gcc-cvs
mailing list