diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-23 12:01:27 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-02-23 12:01:27 +0300 |
commit | 8517627410499486e2bb09d8a55ba6f0088d7503 (patch) | |
tree | 60a4d9857b9de8a02f57bf359d4a2593c0efedb9 /lib/gitlab/ci/pipeline/expression/lexer.rb | |
parent | 5ee43097fde03ac2fabb655f14aa15c8fe8ed631 (diff) |
Move pipeline expression lexemes to a separate module
Diffstat (limited to 'lib/gitlab/ci/pipeline/expression/lexer.rb')
-rw-r--r-- | lib/gitlab/ci/pipeline/expression/lexer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/ci/pipeline/expression/lexer.rb b/lib/gitlab/ci/pipeline/expression/lexer.rb index 9334358cd8e..038c0e7e330 100644 --- a/lib/gitlab/ci/pipeline/expression/lexer.rb +++ b/lib/gitlab/ci/pipeline/expression/lexer.rb @@ -4,9 +4,9 @@ module Gitlab module Expression class Lexer LEXEMES = [ - Expression::Variable, - Expression::String, - Expression::Equals + Expression::Lexeme::Variable, + Expression::Lexeme::String, + Expression::Lexeme::Equals ].freeze MAX_CYCLES = 5 |