Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ocamllex -- ungetting a character?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-16 (03:57)
From: mvanier <mvanier@c...>
Subject: ocamllex -- ungetting a character?
I'm writing a simple program using ocamllex to do some text processing, and one 
feature I would really like is to be able to put a matched character back onto 
the front of the lexing buffer.  I can't figure out a way to do this from the 
documentation (if it's possible, it's not in the manual).  Does anyone know of a 
way to do this?

Thanks in advance,