HLSL: Separate out token stream handling from grammar recognition.

This commit is contained in:
John Kessenich
2016-05-03 22:49:24 -06:00
parent e512cd943e
commit 9c86c6ab5b
5 changed files with 143 additions and 38 deletions

View File

@@ -3,12 +3,14 @@ cmake_minimum_required(VERSION 2.8)
set(SOURCES
hlslParseHelper.cpp
hlslScanContext.cpp
hlslTokenStream.cpp
hlslGrammar.cpp)
set(HEADERS
hlslParseHelper.h
hlslTokens.h
hlslScanContext.h
hlslTokenStream.h
hlslGrammar.h)
add_library(HLSL STATIC ${SOURCES} ${HEADERS})