1
0
forked from GitHub/gf-core

Do string sharing after unescaping in source and canonical grammars.

This commit is contained in:
bringert
2004-12-07 13:02:27 +00:00
parent 97dbfc25f2
commit f1b84584f8
4 changed files with 4 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ alexInputPrevChar (p, c, s) = c
alex_action_1 = tok (\p s -> PT p (TS $ shareString s))
alex_action_2 = tok (\p s -> PT p (eitherResIdent (TV . shareString) s))
alex_action_3 = tok (\p s -> PT p (TL $ unescapeInitTail $ shareString s))
alex_action_3 = tok (\p s -> PT p (TL $ shareString $ unescapeInitTail s))
alex_action_4 = tok (\p s -> PT p (TI s))
{-# LINE 1 "GenericTemplate.hs" #-}
{-# LINE 1 "<built-in>" #-}