aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/verilog/lexer.l
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-11 11:36:22 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-11 11:36:22 +0200
commit8263f6a74a822579f3c1da7d8b128ea8ab7b4d79 (patch)
treedbeedfef238d40f2c882779cb6128346998dce71 /frontends/verilog/lexer.l
parenta32e067e5c96bacc1f0280f9f1bfd979af2171db (diff)
downloadyosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.tar.gz
yosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.tar.bz2
yosys-8263f6a74a822579f3c1da7d8b128ea8ab7b4d79.zip
Fixed win32 troubles with f.readsome()
Diffstat (limited to 'frontends/verilog/lexer.l')
-rw-r--r--frontends/verilog/lexer.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/lexer.l b/frontends/verilog/lexer.l
index c9302aba8..98f360885 100644
--- a/frontends/verilog/lexer.l
+++ b/frontends/verilog/lexer.l
@@ -64,7 +64,7 @@ YOSYS_NAMESPACE_END
return TOK_ID;
#define YY_INPUT(buf,result,max_size) \
- result = lexin->readsome(buf, max_size);
+ result = readsome(*lexin, buf, max_size);
%}