diff clang/lib/Parse/ParseCbC.cpp @ 200:40b1cab18437

swap CurLexer
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 04 Jun 2021 20:14:29 +0900
parents 5784c86f13b3
children d6e4c9eda2cc
line wrap: on
line diff
--- a/clang/lib/Parse/ParseCbC.cpp	Thu Jun 03 00:48:49 2021 +0900
+++ b/clang/lib/Parse/ParseCbC.cpp	Fri Jun 04 20:14:29 2021 +0900
@@ -241,7 +241,7 @@
     CompoundStmts.push_back(innerRes.get());
 
   // jmp_buf env_buf;   --> int env_buf[64];
-  Tok = PP.ReadFromString("int env_buf[64];;",Loc);
+  Tok = PP.ReadFromString("int env_buf[64];",Loc);
   ConsumeAnyToken();
   // innerRes = CreateDeclStmt(bufII, false, false, 64, DeclSpec::TST_typename, CreateIdentifierInfo("int", Loc));
   StmtVector Stmts;