diff options
| author | krasimir <krasimir@chalmers.se> | 2010-03-18 19:34:30 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2010-03-18 19:34:30 +0000 |
| commit | f870c4d80f9e1b55a18c54f8119e5ed11f9d14e1 (patch) | |
| tree | 0aaf19f5156e6f62f9f8f41732432a49aa1c64fc /src/compiler/GF/Compile/GrammarToPGF.hs | |
| parent | d91999dec0bcdbed95fe3977d89f38157389852a (diff) | |
syntax for inaccessible patterns in GF
Diffstat (limited to 'src/compiler/GF/Compile/GrammarToPGF.hs')
| -rw-r--r-- | src/compiler/GF/Compile/GrammarToPGF.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/Compile/GrammarToPGF.hs b/src/compiler/GF/Compile/GrammarToPGF.hs index ce857d3f9..13bd1a27b 100644 --- a/src/compiler/GF/Compile/GrammarToPGF.hs +++ b/src/compiler/GF/Compile/GrammarToPGF.hs @@ -145,6 +145,7 @@ mkPatt scope p = A.PInt i -> ( scope,C.PLit (C.LInt (fromIntegral i))) A.PFloat f -> ( scope,C.PLit (C.LFlt f)) A.PString s -> ( scope,C.PLit (C.LStr s)) + A.PTilde t -> ( scope,C.PTilde (mkExp scope t)) mkContext :: [Ident] -> A.Context -> ([Ident],[C.Hypo]) |
