Merge pull request #573 from cr1901/msys-64
[yosys.git] / frontends / ilang / ilang_lexer.l
index ace992fbd74ff40fc34661c03407a88adb1498ab..8423885480effb5420b1fc4805f507750d729d27 100644 (file)
@@ -2,11 +2,11 @@
  *  yosys -- Yosys Open SYnthesis Suite
  *
  *  Copyright (C) 2012  Clifford Wolf <clifford@clifford.at>
- *  
+ *
  *  Permission to use, copy, modify, and/or distribute this software for any
  *  purpose with or without fee is hereby granted, provided that the above
  *  copyright notice and this permission notice appear in all copies.
- *  
+ *
  *  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  *  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  *  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@@ -29,7 +29,7 @@
 #pragma clang diagnostic ignored "-Wdeprecated-register"
 #endif
 
-#include "ilang_frontend.h"
+#include "frontends/ilang/ilang_frontend.h"
 #include "ilang_parser.tab.h"
 
 USING_YOSYS_NAMESPACE
@@ -74,6 +74,7 @@ USING_YOSYS_NAMESPACE
 "negedge"      { return TOK_NEGEDGE; }
 "edge"         { return TOK_EDGE; }
 "always"       { return TOK_ALWAYS; }
+"global"       { return TOK_GLOBAL; }
 "init"         { return TOK_INIT; }
 "update"       { return TOK_UPDATE; }
 "process"      { return TOK_PROCESS; }