ext/rbs_extension/lexer.h in rbs-3.0.0.dev.1 vs ext/rbs_extension/lexer.h in rbs-3.0.0.dev.2
- old
+ new
@@ -56,10 +56,12 @@
kTRUE, /* true */
kTYPE, /* type */
kUNCHECKED, /* unchecked */
kUNTYPED, /* untyped */
kVOID, /* void */
+ kUSE, /* use */
+ kAS, /* as */
tLIDENT, /* Identifiers starting with lower case */
tUIDENT, /* Identifiers starting with upper case */
tULIDENT, /* Identifiers starting with `_` followed by upper case */
tULLIDENT, /* Identifiers starting with `_` followed by lower case */
@@ -148,10 +150,10 @@
unsigned int peek(lexstate *state);
/**
* Skip one character.
* */
-void skip(lexstate *state);
+void rbs_skip(lexstate *state);
/**
* Skip n characters.
* */
void skipn(lexstate *state, size_t size);