Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
30b659a8
Commit
30b659a8
authored
Nov 13, 2012
by
JINMEI Tatuya
Browse files
[2372] clarified that INITIAL_WS is recognized only after an EOL.
parent
15d6d71e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dns/master_lexer.h
View file @
30b659a8
...
...
@@ -55,8 +55,9 @@ public:
/// A compound option, indicating multiple options are set, can be
/// specified using the logical OR operator (operator|()).
enum
Options
{
NONE
=
0
,
//< No option
INITIAL_WS
=
1
,
///< recognize begin-of-line spaces
NONE
=
0
,
///< No option
INITIAL_WS
=
1
,
///< recognize begin-of-line spaces after an
///< end-of-line
QSTRING
=
2
,
///< recognize quoted string
NUMBER
=
4
///< recognize numeric text as integer
};
...
...
@@ -191,7 +192,8 @@ public:
enum
Type
{
END_OF_LINE
,
///< End of line detected (if asked for detecting it)
END_OF_FILE
,
///< End of file detected (if asked for detecting it)
INITIAL_WS
,
///< White spaces at the beginning of a line
INITIAL_WS
,
///< White spaces at the beginning of a line after an
///< end of line
NOVALUE_TYPE_MAX
=
INITIAL_WS
,
///< Max integer corresponding to
/// no-value (type only) types.
/// Mainly for internal use.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment