diff --git a/lib/nimble_parsec/compiler.ex b/lib/nimble_parsec/compiler.ex
index 935853f..b9ab338 100644
--- a/lib/nimble_parsec/compiler.ex
+++ b/lib/nimble_parsec/compiler.ex
@@ -903,7 +903,7 @@ defmodule NimbleParsec.Compiler do
   defp bound_combinator({:bytes, count}, metadata) do
     %{counter: counter, offset: offset} = metadata
     {var, counter} = build_var(counter)
-    input = quote do unquote(var)::binary-size(unquote(count)) end
+    input = quote do: unquote(var)::binary-size(unquote(count))
     offset = add_offset(offset, count)
     metadata = %{metadata | counter: counter, offset: offset}
     {:ok, [input], [], [var], metadata}