Changeset 1704 for XIOS/trunk/src/parse_expr/yacc_parser.cpp
- Timestamp:
- 09/11/19 10:22:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/parse_expr/yacc_parser.cpp
r1158 r1704 70 70 #include "exception.hpp" 71 71 72 #include "yacc_var.hpp" 73 72 74 using namespace std; 73 75 using namespace xios; … … 84 86 size_t globalReadOffset = 0; 85 87 88 std::string *xios::yacc_globalInputText_ptr = 0; 89 86 90 int readInputForLexer(char* buffer, size_t* numBytesRead, size_t maxBytesToRead) 87 91 { 92 yacc_globalInputText_ptr = &globalInputText; 93 //*yacc_globalInputText_ptr = globalInputText; 94 95 std::cout<<"========= yacc_globalInputText_ptr = "<<*yacc_globalInputText_ptr<<std::endl; 96 88 97 size_t numBytesToRead = maxBytesToRead; 89 98 size_t bytesRemaining = globalInputText.length()-globalReadOffset;
Note: See TracChangeset
for help on using the changeset viewer.