Skip to content

Commit

Permalink
fix: add back a leading slash removed by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
JFreegman committed Jan 11, 2024
1 parent 18c438a commit f640e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/check-c.hs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ main = do
let (opts, rest) = partition (isPrefixOf "--") args
let (cppOpts, files) = partition (isPrefixOf "-") rest
let cc = Maybe.fromMaybe "clang" $ getFlag "--cc=" opts
let sysInclude = Maybe.fromMaybe "src/workspace/hs-tokstyle/include" $ getFlag "--include=" opts
let sysInclude = Maybe.fromMaybe "/src/workspace/hs-tokstyle/include" $ getFlag "--include=" opts
result <- Par.mapM (processFile cc sysInclude cppOpts) files
mapM_ (mapM_ (Text.hPutStrLn stderr) . snd) result
unless (all fst result) $ exitWith (ExitFailure 1)
Expand Down

0 comments on commit f640e80

Please sign in to comment.