Example #1
0
        //----------------------------------------------------------------------

        public void addConst(ConstData aConst)
        {
            mConstList.Add(aConst);

            if (aConst.mName.Length > mConstMaxSize)
            {
                mConstMaxSize = aConst.mName.Length;
            }
        }
Example #2
0
        //**********************************************************************
        //**********************************************************************
        //**********************************************************************
        //**********************************************************************

        public void processConst(CmdLineCmd aCmd)
        {
            ConstData tConst = new ConstData();

            tConst.mName = aCmd.argString(1);

            if (aCmd.isArgString(2, "="))
            {
                tConst.mInitialValue = aCmd.argString(3);
            }

            tConst.addPreCommentList(mPreCommentList);
            mPreCommentList = new List <String>();

            tConst.addPostComment(aCmd.comment());

            mBlockData.addConst(tConst);
        }