/[svn]/linuxsampler/trunk/src/scriptvm/common.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/scriptvm/common.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3728 by schoenebeck, Fri Aug 30 13:33:32 2019 UTC revision 3729 by schoenebeck, Fri Jan 31 10:57:53 2020 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (c) 2014-2019 Christian Schoenebeck   * Copyright (c) 2014-2020 Christian Schoenebeck
3   *   *
4   * http://www.linuxsampler.org   * http://www.linuxsampler.org
5   *   *
# Line 236  namespace LinuxSampler { Line 236  namespace LinuxSampler {
236          return (m_token) ? m_token->firstColumn() : 0;          return (m_token) ? m_token->firstColumn() : 0;
237      }      }
238    
239        int VMSourceToken::firstByte() const {
240            return (m_token) ? m_token->firstByte() : 0;
241        }
242    
243        int VMSourceToken::lengthBytes() const {
244            return (m_token) ? m_token->lengthBytes() : 0;
245        }
246    
247      bool VMSourceToken::isEOF() const {      bool VMSourceToken::isEOF() const {
248          return (m_token) ? m_token->isEOF() : true;          return (m_token) ? m_token->isEOF() : true;
249      }      }

Legend:
Removed from v.3728  
changed lines
  Added in v.3729

  ViewVC Help
Powered by ViewVC