Skip to content

Commit

Permalink
fixes for language-c-quote-0.10 - make quasiquoter parse comments cor…
Browse files Browse the repository at this point in the history
…rectly
  • Loading branch information
Pat Hickey committed Oct 6, 2014
1 parent a79c11c commit e2bb98e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Codegen/CgOpt.hs
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ codeGenComp dflags comp k =
//case, it is just the return value 1. Here we return
//CONTINUE - 1 to indicate EOF on channel -1 (the input
//channel). See [CgSetupThreads.hs] for more information.
;
|]
kontYield k
else
Expand Down
3 changes: 2 additions & 1 deletion src/Codegen/CgSetupThreads.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ thread_setup affinity_mask name buf_tys tids
typename DWORD_PTR affinityMask = $int:affinity_mask;
SetProcessAffinityMask(procHdl, affinityMask);
$decl:my_sizes_decl;
// no_threads = $id:no_threads;
// no_threads = $id:no_threads;
;
$stms:(my_sizes_inits (zip [0..] buf_tys))
$stms:(user_routines (zip [0..] $ map ("__go" ++) tids'))
$stms:ts_init_stmts
Expand Down

0 comments on commit e2bb98e

Please sign in to comment.