Changeset 1680 for XIOS/dev/dev_trunk_omp/src/parse_expr/yacc_parser.cpp
- Timestamp:
- 07/08/19 16:58:12 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/parse_expr/yacc_parser.cpp
r1601 r1680 70 70 #include "exception.hpp" 71 71 72 #include "yacc_var.hpp" 73 72 74 using namespace std; 73 75 using namespace xios; … … 86 88 #pragma omp threadprivate(parsed, globalInputText_ptr, globalReadOffset) 87 89 90 91 std::string *xios::yacc_globalInputText_ptr = 0; 92 // #pragma omp threadprivate(xios::yacc_globalInputText_ptr) 93 88 94 int readInputForLexer(char* buffer, size_t* numBytesRead, size_t maxBytesToRead) 89 95 { 96 yacc_globalInputText_ptr = globalInputText_ptr; 97 98 std::cout<<"========= yacc_globalInputText_ptr = "<<*yacc_globalInputText_ptr<<std::endl; 90 99 if(globalInputText_ptr == 0) globalInputText_ptr = new std::string; 91 100 size_t numBytesToRead = maxBytesToRead;
Note: See TracChangeset
for help on using the changeset viewer.