You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 6453 Reporter: furuse Status: closed (set by @damiendoligez on 2014-07-21T21:06:07Z) Resolution: fixed Priority: normal Severity: minor Version: 4.02.0+beta1 / +rc1 Target version: 4.02.0+dev Fixed in version: 4.02.0+dev Category: documentation
Bug description
I found Lexer.set_preprocessor is added to OCaml 4.02.0 and played with it a bit. It is cool!
One tricky thing I have experienced that preprocessors receive lexer token streams a bit different from the original. They contain EOL. The code is in the token rule and it was hard to find out first for me.
This must be documented at the comment of the function in lexer.mli
The text was updated successfully, but these errors were encountered:
Original bug ID: 6453
Reporter: furuse
Status: closed (set by @damiendoligez on 2014-07-21T21:06:07Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 4.02.0+beta1 / +rc1
Target version: 4.02.0+dev
Fixed in version: 4.02.0+dev
Category: documentation
Bug description
I found Lexer.set_preprocessor is added to OCaml 4.02.0 and played with it a bit. It is cool!
One tricky thing I have experienced that preprocessors receive lexer token streams a bit different from the original. They contain EOL. The code is in the token rule and it was hard to find out first for me.
This must be documented at the comment of the function in lexer.mli
The text was updated successfully, but these errors were encountered: