diff options
| author | aarne <unknown> | 2003-11-14 12:36:23 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2003-11-14 12:36:23 +0000 |
| commit | 5a7d6e542d7fc0c01bec9163e4be732ac1c6d217 (patch) | |
| tree | 7e7899236393081209aa494b391d3409d087fcc3 /src/GF/Compile/GetGrammar.hs | |
| parent | 37384dbe06913a0352d4459050c1382874a45a62 (diff) | |
New unicodings.
New unicodings.
Module with works.
Better compilation of old GF.
Diffstat (limited to 'src/GF/Compile/GetGrammar.hs')
| -rw-r--r-- | src/GF/Compile/GetGrammar.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GF/Compile/GetGrammar.hs b/src/GF/Compile/GetGrammar.hs index 32efb960b..ef9e0944f 100644 --- a/src/GF/Compile/GetGrammar.hs +++ b/src/GF/Compile/GetGrammar.hs @@ -33,11 +33,11 @@ getSourceModule file = do -- for old GF format with includes -getOldGrammar :: FilePath -> IOE SourceGrammar -getOldGrammar file = do +getOldGrammar :: Options -> FilePath -> IOE SourceGrammar +getOldGrammar opts file = do defs <- parseOldGrammarFiles file let g = A.OldGr A.NoIncl defs - ioeErr $ transOldGrammar g file + ioeErr $ transOldGrammar opts file g parseOldGrammarFiles :: FilePath -> IOE [A.TopDef] parseOldGrammarFiles file = do |
