summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Data/Str.hs
AgeCommit message (Collapse)Author
2015-12-01GF.Data.Str: change matchPrefix to agree with the GF book and the run-time ↵hallgren
system The matchPrefix function is used in str2strings and the partial evaluator to compute pre{...} tokens. But unlike the description in the GF book and the implementation in the run-time system, matchPrefix looked at the concatenation(!) of all following tokens and not just the next token when deciding how to compute a pre{...} token. This is a backwards incompatible change, but it is subtle and probably won't cause any problems. In particular, the example grammars are unaffected.
2015-12-01GF.Data.Str: unexport & comment out unused functionshallgren
2015-08-28Comment out some dead code found with -fwarn-unused-bindshallgren
Also fixed some warnings and tightened some imports
2009-12-13reorganize the directories under src, and rescue the JavaScript interpreter ↵krasimir
from deprecated