pegjs/lib
David Majda 4e968892be Guard against redefinition of |undefined|
In most cases, code pattern

  x === undefined

was transformed to

  typeof(x) === "undefined"

and similarly with |!==|.

In the generated code, the condition was simply made less strict to
avoid performance penalty of string comparison (I don't think JavaScript
VMs optimize this specific pattern to avoid it).
2010-05-21 21:02:33 +02:00
..
compiler.js Guard against redefinition of |undefined| 2010-05-21 21:02:33 +02:00
metagrammar.js Guard against redefinition of |undefined| 2010-05-21 21:02:33 +02:00
metagrammar.pegjs AST refactoring 5/6: Make AST classless 2010-05-21 18:54:52 +02:00