Skip to content

Commit

Permalink
Don't switch to clang for CPP
Browse files Browse the repository at this point in the history
  • Loading branch information
krame505 committed Oct 7, 2022
1 parent d3a3664 commit 1137c61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion grammars/edu.umn.cs.melt.ableC/drivers/compile/Driver.sv
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ IOVal<Integer> ::= args::[String] ioIn::IOToken
local xcArgs :: [String] = partitionedArgs.fst;

local cppOptions :: String = if length(args) >= 2 then implode(" ", cppArgs) else "" ;
local cppCmd :: String = "clang -E -x c -D _POSIX_C_SOURCE=200908L -std=gnu1x -I . " ++ cppOptions;
local cppCmd :: String = "gcc -E -x c -D _POSIX_C_SOURCE=200908L -std=gnu1x -I . " ++ cppOptions;
local fullCppCmd :: String = cppCmd ++ " \"" ++ fileName ++ "\" > " ++ cppFileName;

local result::IO<Integer> = do {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ IOVal<Integer> ::= args::[String] ioIn::IOToken
local xcArgs :: [String] = partitionedArgs.fst;

local cppOptions :: String = if length(args) >= 2 then implode(" ", cppArgs) else "" ;
local cppCmd :: String = "clang -E -x c -D _POSIX_C_SOURCE -std=gnu1x -I . " ++ cppOptions;
local cppCmd :: String = "gcc -E -x c -D _POSIX_C_SOURCE -std=gnu1x -I . " ++ cppOptions;
local fullCppCmd :: String = cppCmd ++ " \"" ++ fileName ++ "\" > " ++ cppFileName;

local result::IO<Integer> = do {
Expand Down

0 comments on commit 1137c61

Please sign in to comment.