OSDN Git Service

add a inclusion guard to qlalr recognizer header
authorIvailo Monev <xakepa10@laimg.moc>
Mon, 24 Oct 2016 17:12:25 +0000 (17:12 +0000)
committerIvailo Monev <xakepa10@laimg.moc>
Mon, 24 Oct 2016 17:12:25 +0000 (17:12 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
util/qlalr/recognizer.h

index 700165e..749f8b3 100644 (file)
@@ -39,6 +39,9 @@
 **
 ****************************************************************************/
 
+#ifndef RECOGNIZER_H
+#define RECOGNIZER_H
+
 #include <QtCore/QDebug>
 #include <QtCore/QString>
 #include <QtCore/QFile>
@@ -109,3 +112,5 @@ protected:
   QString _M_current_value;
   bool _M_no_lines;
 };
+
+#endif // RECOGNIZER_H