ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/mdParser/MDParser.hpp
(Generate patch)

Comparing trunk/src/mdParser/MDParser.hpp (file contents):
Revision 770 by tim, Fri Dec 2 15:38:03 2005 UTC vs.
Revision 814 by tim, Fri Dec 16 02:57:00 2005 UTC

# Line 18 | Line 18 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
18   #line 19 "MDParser.hpp"
19   class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE(antlr)LLkParser, public MDTokenTypes
20   {
21 < #line 44 "MDParser.g"
22 <
23 <    // Suppport C++-style single-line comments?
21 > #line 1 "MDParser.g"
22   #line 23 "MDParser.hpp"
23   public:
24          void initializeASTFactory( ANTLR_USE_NAMESPACE(antlr)ASTFactory& factory );
# Line 53 | Line 51 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
51          public: void moleculeblock();
52          public: void zconstraintblock();
53          public: void constant();
54 <        protected: void signedNumber();
54 >        protected: void intConst();
55 >        protected: void floatConst();
56          public: void moleculestatement();
57          public: void atomblock();
58          public: void bondblock();
# Line 62 | Line 61 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
61          public: void rigidbodyblock();
62          public: void cutoffgroupblock();
63          public: void fragmentblock();
65        protected: void intConst();
64          public: void atomstatement();
65 <        public: void signedNumberTuple();
65 >        public: void doubleNumberTuple();
66          public: void bondstatement();
67          public: void inttuple();
68          public: void bendstatement();
# Line 72 | Line 70 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
70          public: void rigidbodystatement();
71          public: void cutoffgroupstatement();
72          public: void fragmentstatement();
73 <        protected: void floatConst();
73 >        protected: void doubleNumber();
74   public:
75          ANTLR_USE_NAMESPACE(antlr)RefAST getAST()
76          {
# Line 84 | Line 82 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
82   private:
83          static const char* tokenNames[];
84   #ifndef NO_STATIC_CONSTS
85 <        static const int NUM_TOKENS = 56;
85 >        static const int NUM_TOKENS = 51;
86   #else
87          enum {
88 <                NUM_TOKENS = 56
88 >                NUM_TOKENS = 51
89          };
90   #endif
91          
# Line 119 | Line 117 | class CUSTOM_API MDParser : public ANTLR_USE_NAMESPACE
117          static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_12;
118          static const unsigned long _tokenSet_13_data_[];
119          static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_13;
120 +        static const unsigned long _tokenSet_14_data_[];
121 +        static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_14;
122   };
123  
124   #endif /*INC_MDParser_hpp_*/

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines