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