Browse Source

[5076] Missing blank line and semicolon

Francis Dupont 8 years ago
parent
commit
03d2418914
2 changed files with 4 additions and 3 deletions
  1. 2 1
      src/bin/agent/agent_parser.yy
  2. 2 2
      src/bin/agent/parser_context.h

+ 2 - 1
src/bin/agent/agent_parser.yy

@@ -336,7 +336,7 @@ control_sockets: CONTROL_SOCKETS COLON LCURLY_BRACKET {
     ctx.stack_.push_back(m);
 } control_sockets_params RCURLY_BRACKET {
     ctx.stack_.pop_back();
-}
+};
 
 // This defines what kind of control-sockets parameters we allow.
 // Note that empty map is not allowed here, because at least one control socket
@@ -503,6 +503,7 @@ debuglevel: DEBUGLEVEL COLON INTEGER {
     ElementPtr dl(new IntElement($3, ctx.loc2pos(@3)));
     ctx.stack_.back()->set("debuglevel", dl);
 };
+
 severity: SEVERITY {
     ctx.enter(ctx.NO_KEYWORDS);
 } COLON STRING {

+ 2 - 2
src/bin/agent/parser_context.h

@@ -215,7 +215,7 @@ public:
     /// @throw isc::Unexpected if unbalanced (more leave() than enter() calls)
     void leave();
 
-    /// @brief Get the syntactix context name
+    /// @brief Get the syntactic context name
     ///
     /// @return printable name of the context.
     const std::string contextName();
@@ -224,7 +224,7 @@ public:
     /// @brief Flag determining scanner debugging.
     bool trace_scanning_;
 
-    /// @brief Flag determing parser debugging.
+    /// @brief Flag determining parser debugging.
     bool trace_parsing_;
 
     /// @brief Syntactic context stack