Start with support for comments
This commit is contained in:
parent
c7bfb5d2db
commit
472667f1f1
2 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@ def wrap(input: str, ws_base, max_length=70) -> str:
|
|||
|
||||
class NagObjectType(Enum):
|
||||
Command = "command"
|
||||
Comment = "comment"
|
||||
ContactGroup = "contactgroup"
|
||||
Contact = "contact"
|
||||
HostDependency = "hostdependency"
|
||||
|
|
|
@ -4,6 +4,7 @@ from enum import Enum, auto
|
|||
from nag_object import NagObject, NagObjectType
|
||||
|
||||
class ParserState(Enum):
|
||||
COMMENT = auto()
|
||||
DEFINE = auto()
|
||||
DIRECTIVE = auto()
|
||||
MULTILINE = auto()
|
||||
|
|
Loading…
Add table
Reference in a new issue