-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qualify every use of Prelude functions (#131)
This bit end users in visq/language-c#99. Properly fixes #131 and adds a regression test.
- Loading branch information
Showing
4 changed files
with
71 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
module Main where | ||
import Prelude () | ||
import qualified Prelude | ||
} | ||
|
||
%name parser | ||
%token foo { 1 } | ||
%tokentype { Prelude.Int } | ||
|
||
%% | ||
|
||
Foo : foo { () } | ||
|
||
{ | ||
main = Prelude.putStrLn "Test works" | ||
happyError = Prelude.undefined | ||
} |