Changeset 5f2f46b in tol


Ignore:
Timestamp:
Mar 3, 2009, 9:45:38 AM (18 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ff605f5
Parents:
936e243
Message:

New member cppFile_ and access methods to store source path for built-in functions

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@687 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/btol/bgrammar/opr.cpp

    r936e243 r5f2f46b  
    2525
    2626#include <tol/tol_boper.h>
     27#include <tol/tol_init.h>
    2728#include <tol/tol_bstruct.h>
    2829#include <tol/tol_butil.h>
    … …  
    459460//--------------------------------------------------------------------
    460461: BSyntaxObject(name, desc), grammar_(gra), theme_(cl), uCode_(NULL),
    461   profiler_(NULL)
     462  profiler_(NULL), cppFile_("")
    462463{
    463464#ifdef CHK_NULL_GRAMMAR
    … …  
    468469}
    469470
     471
     472//--------------------------------------------------------------------
     473BOperator::~BOperator()
     474
     475/*! BOperator destructor
     476 */
     477//--------------------------------------------------------------------
     478{
     479}
     480
    470481//--------------------------------------------------------------------
    471482void BOperator::AddSystemOperator()
    … …  
    480491
    481492//--------------------------------------------------------------------
    482 BOperator::~BOperator()
    483 
    484 /*! BOperator destructor
    485  */
    486 //--------------------------------------------------------------------
    487 {
    488 }
    489 
     493const BText& BOperator::CppFile() const
     494//--------------------------------------------------------------------
     495{
     496  return(cppFile_);
     497}
     498
     499//--------------------------------------------------------------------
     500void BOperator::PutCppFile(const BText& cppFile)
     501//--------------------------------------------------------------------
     502{
     503  cppFile_ = Replace(Replace(cppFile,'\\','/'), TOLCppRoot(), "");
     504}
    490505
    491506//--------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.