[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 12497)

Aleksey Nogin nogin at metaprl.org
Fri Nov 9 10:28:04 PST 2007


On 01.11.2007 19:27, Jason J. Hickey wrote:

> Switched from
> 
>    program-syntax
> 
> to
> 
>    .LANGUAGE: <mode>
> 
> where <mode> is either "program", or "make".
> 
> There are no minor modes -- I'm not sure why we would need them...
> 
The minor modes were meant for version tracking - it is inevitable that
we will make some incompatible changes in the future - the keywords
syntax change and the "=>" binding syntax change that we are making
right now is extremely unlikely to be the last one.

If we track the versions and if we process the .LANGUAGE directive at
parse-time, then we can have meaningful error messages for new-syntax
files in old-version OMake instead of all kinds of weird syntax error
messages.

Aleksey


More information about the OMake-Devel mailing list