Version française
Home     About     Download     Resources     Contact us    
Browse thread
CamlP4 lexer problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] CamlP4 lexer problem
On Mon, Jun 30, 2008 at 08:46:57PM +0300, dream.designer wrote:
> # ([% 5 %]) ;;
> Characters 6-9:
>   ([% 5 %]);;
>         ^^^
> Parse error: [expr level simple] expected after "[%" (in [expr])

Is it not just the case that the scanner thinks %]) is a single token?

Rich.

-- 
Richard Jones
Red Hat