Skip to content

Commit

Permalink
Merge pull request #446 from tamayika/feature/block_tag
Browse files Browse the repository at this point in the history
fix: wrong block tag setting
  • Loading branch information
rueian committed Jan 12, 2024
2 parents 467e429 + 3e06409 commit 9a50cec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion hack/cmds/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ func printBuilder(w io.Writer, parent, next goStruct) {

for _, cmd := range next.BuildDef.Command {
if cmd == "BLOCK" {
fmt.Fprintf(w, "\tc.cf = int16(blockTag)\n")
fmt.Fprintf(w, "\tc.cf |= int16(blockTag)\n")
break
}
}
Expand Down
8 changes: 4 additions & 4 deletions internal/cmds/gen_stream.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions internal/cmds/gen_timeseries.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a50cec

Please sign in to comment.